import { type ReactNode } from 'react';
import type { Children, Theme } from '../types/node.type.js';
export interface ThemeContextValue {
    theme: Theme;
    setTheme: (theme: Theme | ((theme: Theme) => Theme)) => void;
}
export declare const ThemeContext: import("react").Context<ThemeContextValue | null>;
/**
 * The internal implementation of the ThemeProvider component.
 * @param {object} props The props for the component.
 * @param {Children} [props.children] The children to render.
 * @param {Theme} props.theme The theme to provide.
 * @returns {ReactNode} The rendered component.
 */
export default function ThemeProvider({ children, theme }: {
    children?: Children;
    theme: Theme;
}): ReactNode;
//# sourceMappingURL=theme-provider.client.d.ts.map