import React from 'react'; import { CompiledTheme } from './createTheme'; export declare type ThemeSelect = ((theme: CompiledTheme) => CompiledTheme) | string | false | undefined; export declare type ThemeObserver = (theme: CompiledTheme) => any; declare type ThemeSubscriber = (onChange: ThemeObserver) => { unsubscribe: () => void; }; export declare type CurrentTheme = { subscribe: ThemeSubscriber; current: CompiledTheme; parentContext?: CurrentTheme; }; declare type ThemeChangeProps = { subTheme?: ThemeSelect; coat?: string | false; name?: string; }; declare type ThemeProps = ThemeChangeProps & { children: React.ReactNode; [key: string]: any; }; export declare const Theme: (props: ThemeProps) => JSX.Element; export declare const ThemeByName: (props: { name?: string | undefined; children: React.ReactNode; }) => JSX.Element; export declare const CurrentThemeContext: React.Context; export {}; //# sourceMappingURL=Theme.d.ts.map