import { ReactNode } from 'react'; import { ITheme } from '../ThemeProvider'; declare type Colorizor = (color: string) => string; export declare const createColorizor: (theme: ITheme) => Colorizor; declare type ThemeChildrenType = ({ theme, colorize, }: { theme: ITheme; colorize: (color: string) => string; }) => ReactNode; interface IThemeProps { readonly children: ThemeChildrenType; } export declare const useTheme: () => { theme: ITheme; colorize: Colorizor; }; declare const Theme: ({ children }: IThemeProps) => JSX.Element; export default Theme;