/** * ThemedProvider – Drop-in theme provider that reads theme / color-mode * from a Zustand `ThemeState` store and forwards them to * `DatalayerThemeProvider`. * * Consumers pass the `useStore` hook as a prop, so the provider is * completely decoupled from any specific application's store instance. * * @module theme/ThemedProvider */ import React from 'react'; import { type IDatalayerThemeProviderProps } from './DatalayerThemeProvider'; import type { ThemeState } from './useThemeStore'; import type { UseBoundStore, StoreApi } from 'zustand'; export interface ThemedProviderProps extends Omit { /** A Zustand store hook created via `createThemeStore()`. */ useStore: UseBoundStore>; } /** * Drop-in replacement for ``. * Reads theme / colorMode from the supplied store and forwards them to * the real provider. Any explicit props (colorMode, theme, themeStyles) * are still respected as overrides. */ export declare const ThemedProvider: React.FC>;