export interface DarkModeScreenshot { readonly base64: string; readonly mimeType: "image/png"; } export interface DarkModeResult { readonly hasDarkMode: boolean; readonly differencePercent: number; readonly lightScreenshot: DarkModeScreenshot; readonly darkScreenshot: DarkModeScreenshot; readonly url: string; readonly timestamp: string; } /** * Detect whether a web page supports dark mode. * * Captures the page twice — once in light mode (default) and once * with `prefers-color-scheme: dark` emulated — then compares the * resulting screenshots via base64 string comparison. * * Returns both screenshots, a boolean indicating dark mode support, * and the approximate difference percentage. */ export declare function checkDarkMode(url: string): Promise; //# sourceMappingURL=dark-mode.d.ts.map