import React from "react"; export interface ThemedSession { running: boolean; called: boolean; } export declare const startThemedSession: () => void; export declare const finishThemeSession: () => boolean; export declare type Theme = Record; interface ThemeContextState { theme: Theme; key: string | null; } export interface ThemeProviderProps { children: React.ReactNode; value: Partial; schema: ThemeSchema; } export declare function ThemeProvider(props: ThemeProviderProps): JSX.Element; export interface ThemeProperty { (): T; key: string; defaultValue: T; toString: () => string; } export declare const useTheming: () => ThemeContextState; export declare type ThemeFor> = T extends ThemeSchema ? Partial

: never; export declare type ThemeSchema = { [K in keyof T]: ThemeProperty; }; export declare function createThemeSchema(defaultTheme: T): ThemeSchema; export {};