import { type PropsWithChildren, type ReactNode } from "react"; import type { Theme } from "./themeTypes.js"; export declare function ThemeProvider({ theme, children }: PropsWithChildren<{ theme: Theme; }>): ReactNode; export declare function useTheme(): Theme; /** Returns the current theme or `null` if no `ThemeProvider` is present. Internal use only. */ export declare function useOptionalTheme(): Theme | null;