import React from 'react'; declare type DefaultProps
= {
props: P;
};
declare type RenderCallback = (args: ToggleableComponentProps) => JSX.Element;
declare const initialState: {
show: boolean;
};
declare type ToggleableState = Readonly = Partial<{
children: RenderCallback | React.ReactNode;
render: RenderCallback;
component: React.ComponentType >;
export declare type ToggleableComponentProps = ReturnType