/**
 * Generates an inline script for FOUC prevention.
 *
 * This script runs synchronously before page paint to:
 * 1. Read theme from cookie or localStorage
 * 2. Detect system preference if theme is "system"
 * 3. Apply theme to HTML element via class or data attribute
 * 4. Optionally set color-scheme CSS property
 *
 * The script is minified and inlined in <head> before any other content.
 */
import type { ResolvedThemeConfig } from "./types.js";
/**
 * Generate the inline script for theme initialization
 *
 * The script is designed to:
 * - Run synchronously before paint (blocking)
 * - Be as small as possible to minimize blocking time
 * - Work without any external dependencies
 * - Handle all edge cases (no localStorage, no cookie, etc.)
 */
export declare function generateThemeScript(config: ResolvedThemeConfig): string;
/**
 * Generate nonce attribute string if nonce is provided
 */
export declare function getNonceAttribute(nonce?: string): string;
//# sourceMappingURL=theme-script.d.ts.map