2025-07-20 22:59:08 +02:00

29 lines
834 B
TypeScript

/// <reference path="../.astro/types.d.ts" />
// Extend the Window interface to include custom properties
declare global {
interface Window {
themeUtils: {
initTheme: () => void;
toggleTheme: () => void;
getStoredTheme: () => string;
};
toolsData: any[];
showToolDetails: (toolName: string, modalType?: string) => void;
hideToolDetails: (modalType?: string) => void;
hideAllToolDetails: () => void;
toggleKbEntry: (entryId: string) => void;
toggleDomainAgnosticSection: (sectionId: string) => void;
restoreAIResults?: () => void;
switchToAIView?: () => void;
clearTagFilters?: () => void;
clearAllFilters?: () => void;
}
}
// Also declare the modules that might not be recognized
declare module 'js-yaml' {
export function load(str: string): any;
}
export {};