import type { EditableNodeAttributes, SiteTheme } from "../types"; import { resolveFontFamily } from "../utils/fontFaces"; export { resolveFontFamily }; interface ThemeProviderProps { theme?: SiteTheme; children: React.ReactNode; /** Keep the normal full-page canvas, or shrink-wrap embedded previews. */ fillViewport?: boolean; } export declare function ThemeProvider({ theme, children, fillViewport }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element; interface ThemeScopeProps extends EditableNodeAttributes { /** Theme carrying `modes` (e.g. from the resolved SiteConfig). */ theme?: SiteTheme; /** Mode key to apply, e.g. "building:123". */ modeKey?: string; children: React.ReactNode; } /** * Subtree mode overlay: re-declares only the vars in `theme.modes[modeKey]` on a * nested div (rest inherit via cascade); no font reload, no ThemeProvider re-mount. * Real consumer is the per-building Repeat (P4a). */ export declare function ThemeScope({ theme, modeKey, children, "data-node-id": dataNodeId }: ThemeScopeProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=ThemeProvider.d.ts.map