import type { Snippet } from 'svelte'; import type { ColorScheme, ThemeConfig, ThemePreset } from './types.js'; interface Props { /** Theme preset to use */ preset?: ThemePreset; /** Color scheme preference */ colorScheme?: ColorScheme; /** Primary accent color override */ primaryColor?: string; /** Border radius preference */ borderRadius?: ThemeConfig['borderRadius']; /** Custom CSS variable overrides */ overrides?: Record; /** * Paint the theme's background/color/font onto the wrapper. Set false when * the host app owns its surface palette and only wants the CSS variables + * scheme context — avoids specificity-fighting `.smrt-theme-root`. */ paintSurface?: boolean; /** Persist preferences to localStorage */ persist?: boolean; /** Storage key for persistence */ storageKey?: string; /** * Force runtime generation of the full CSS variable set onto the wrapper's * inline style (the legacy delivery path). Defaults to `true` for custom * registered themes — they have no static stylesheet — and `false` for * built-in presets, whose variables ship as static CSS * (`themes/styles/.css`) selected by the `data-theme` / * `data-color-scheme` attributes. Leave unset unless you cannot import the * static stylesheet for a built-in preset. */ inlineVariables?: boolean; /** Content */ children: Snippet; } declare const ThemeProvider: import("svelte").Component; type ThemeProvider = ReturnType; export default ThemeProvider; //# sourceMappingURL=ThemeProvider.svelte.d.ts.map