import type { HTMLAttributes } from 'svelte/elements'; export type Theme = 'dark' | 'light' | 'system'; export interface CreateRootProps { theme: Theme; } export interface RootState { element: HTMLElement | null; theme: Theme; toggle: () => void; props: HTMLAttributes; } export declare const THEME_LOCAL_STORAGE_KEY = "sv-theme"; export declare function createRoot(props: CreateRootProps): RootState;