///
// Extend the Window interface to include custom properties
declare global {
interface Window {
themeUtils: {
initTheme: () => void;
toggleTheme: () => void;
getStoredTheme: () => string;
};
toolsData: any[];
showToolDetails: (toolName: string) => void;
hideToolDetails: () => void;
}
// Custom event types
interface WindowEventMap {
'toolsFiltered': CustomEvent;
'viewChanged': CustomEvent;
}
}
// Also declare the modules that might not be recognized
declare module 'js-yaml' {
export function load(str: string): any;
}
export {};