/** * Theme Context * * Svelte 5 runes-based context for theme state management. * Provides reactive theme state and methods to all child components. */ import type { ColorScheme, ThemeConfig, ThemeContext, ThemePreset } from './types.js'; /** * Set the theme context in the component tree * @param context - Theme context object */ export declare function setThemeContext(context: ThemeContext): void; /** * Get the theme context from the component tree * @returns Theme context * @throws Error if called outside of ThemeProvider */ export declare function getThemeContext(): ThemeContext; /** * Try to get the theme context without throwing * @returns Theme context or null if not available */ export declare function tryGetThemeContext(): ThemeContext | null; /** * Check if theme context is available * @returns True if inside ThemeProvider */ export declare function hasThemeContext(): boolean; export type { ColorScheme, ThemeConfig, ThemeContext, ThemePreset }; //# sourceMappingURL=context.svelte.d.ts.map