export type ThemePreference = "light" | "dark" | "system"; export type ResolvedTheme = "light" | "dark"; export declare const EMBEDDED_THEME_UPDATE_MESSAGE = "agent-native-theme-update"; export declare const EMBEDDED_THEME_CHANGE_EVENT = "agent-native:theme-change"; export interface EmbeddedThemeUpdate { type: typeof EMBEDDED_THEME_UPDATE_MESSAGE; theme?: ResolvedTheme; isDark?: boolean; vars?: Record; } export interface NormalizedEmbeddedThemeUpdate { theme: ResolvedTheme; vars?: Record; } export declare function parseEmbeddedThemeUpdate(value: unknown): NormalizedEmbeddedThemeUpdate | null; export declare function buildEmbeddedThemeUpdate(theme: ResolvedTheme, vars?: Record): EmbeddedThemeUpdate; export declare function applyEmbeddedThemeUpdate(root: HTMLElement, update: NormalizedEmbeddedThemeUpdate): void; export declare function getThemeInitScript(defaultTheme?: ThemePreference, enableSystem?: boolean, appId?: string): string; export declare const themeInitScript: string;