import type { ThemeMode } from '../../types/index.js';
type ThemeChangeCallback = (theme: ThemeMode, resolvedTheme: 'light' | 'dark') => void;
/**
 * Get the currently applied theme mode
 */
export declare function getTheme(): ThemeMode;
/**
 * Get the resolved theme (light or dark) based on current mode
 */
export declare function getResolvedTheme(): 'light' | 'dark';
/**
 * Apply a theme mode to the document
 * @param theme - 'light', 'dark', or 'system' (follows OS preference)
 */
export declare function applyTheme(theme: ThemeMode): void;
/**
 * Subscribe to theme changes
 * @param callback - Function called when theme changes
 * @returns Unsubscribe function
 */
export declare function onThemeChange(callback: ThemeChangeCallback): () => void;
/**
 * Toggle between light and dark themes
 * If currently on 'system', will switch to the opposite of current resolved theme
 */
export declare function toggleTheme(): void;
export {};
//# sourceMappingURL=apply-theme.function.d.ts.map