/// export interface SwitcherProps { on: string | number; children: any[]; } export interface WhenProps { data?: string | number | boolean; default?: boolean; children: any; } export declare type When = React.Component; declare function When(props: WhenProps): React.Component; declare function Switcher(props: SwitcherProps): any; declare const _default: ((props: SwitcherProps) => any) & { When: (props: WhenProps) => React.Component; }; export default _default; export { When, Switcher };