import type { ThemeAPI } from "../../theme/themeApi"; export type ThemeRepresentations = Readonly>; export interface ThemeProviderProps { /** * Use when authoring overrides against the ThemeAPI type exported by your installed Blueprint version. * When both inputs are present, theme takes precedence over themesByVersion. An invalid theme clears * overrides; themesByVersion is used only when theme is undefined. */ theme?: ThemeAPI; /** * Use when the receiving Blueprint instance's supported Theme API version is unknown. Provide the available * representations keyed by schema version; the receiving provider selects the version it supports. */ themesByVersion?: ThemeRepresentations; isDarkMode?: boolean; } /** * Supplies converted Blueprint tokens without adding DOM elements. Consumers apply them to their existing roots. * * Use `theme` when authoring overrides against the `ThemeAPI` type exported by your installed Blueprint version. * Use `themesByVersion` when the receiving Blueprint instance's supported Theme API version is unknown, * such as when a host forwards overrides to an independently deployed widget. Provide representations keyed * by schema version; the receiving provider selects the version it supports. * When `theme` is defined, it is used exclusively; an invalid value clears overrides. The matching * `themesByVersion` entry is used only when `theme` is undefined. Omitting both clears overrides. */ export declare function ThemeProvider({ children, theme, themesByVersion }: React.PropsWithChildren): import("react/jsx-runtime").JSX.Element;