import React from 'react'; import { ThemeColors } from 'styled-components'; import { ThemeName } from './Themes'; declare type Props = { children: React.ReactNode; }; declare type SwitchFuncType = (name: ThemeName) => void; declare type SwitchCustomFuncType = (theme: ThemeColors) => void; export declare type ProviderType = { switchTheme: SwitchFuncType; theme?: ThemeColors; switchToCustomTheme: SwitchCustomFuncType; }; export declare const WPThemeContext: React.Context; declare const WPThemeProvider: ({ children }: Props) => JSX.Element; export default WPThemeProvider;