/**
 * Auto Theme Detector
 * Detects whether the widget should use light or dark mode
 * based on the background behind it
 */
/**
 * Sample the background color behind an element
 * Uses multiple sampling points for accuracy
 */
export declare function sampleBackgroundColor(element: HTMLElement): string;
/**
 * Determine if the background is dark
 */
export declare function isBackgroundDark(backgroundColor: string): boolean;
/**
 * Auto-detect theme based on background
 */
export declare function detectTheme(element: HTMLElement): 'light' | 'dark';
/**
 * Check system preference for dark mode
 */
export declare function getSystemThemePreference(): 'light' | 'dark';
/**
 * Create a MutationObserver to watch for theme changes
 */
export declare function createThemeObserver(element: HTMLElement, callback: (theme: 'light' | 'dark') => void): MutationObserver;
//# sourceMappingURL=autoThemeDetector.d.ts.map