export interface InitScriptOptions { /** localStorage key to read. Defaults to `THEME_STORAGE_KEY`. */ storageKey?: string; } /** * Returns a self-contained JavaScript string that — when executed before * your React app hydrates — applies the correct `.dark` or `.light` class * to `` based on the user's stored preference (or their system * preference if they chose 'system', or 'dark' as the default). * * The returned string is produced by this package itself, not from user * input, so it is safe to inline in `` via the framework's inline * script mechanism (e.g. Next.js ` * * {children} * * ) * } * * @example Vite (index.html) * * */ export declare function getThemeInitScript(options?: InitScriptOptions): string; //# sourceMappingURL=index.d.ts.map