import type { JSX } from 'preact';
import { ThemeProps } from "./types";
import { ThemeConfig, presetThemes } from "../../types/theme";
export interface ThemeProviderProps extends ThemeProps {
    theme?: ThemeConfig | keyof typeof presetThemes;
    primaryColor?: string;
    customStyles?: Record<string, string> | string;
    targetElement?: HTMLElement;
}
export default function ThemeProvider({ children, theme, primaryColor, customStyles, targetElement }: ThemeProviderProps): JSX.Element;
