import { default as React, FC, PropsWithChildren } from 'react'; import { ReablocksTheme } from './themes/theme'; export interface ThemeContextProps { /** The active Reablocks theme. */ theme: ReablocksTheme; /** Map of CSS custom property tokens resolved from the current theme. */ tokens: Record; /** Replaces the active theme with the provided one. */ updateTheme: (newTheme: ReablocksTheme) => void; /** Replaces the active token map with the provided one. */ updateTokens: (newTokens: Record) => void; } export declare const ThemeContext: React.Context; interface ThemeProviderProps extends PropsWithChildren { theme: ReablocksTheme; } export declare const ThemeProvider: FC; export {};