import React, { ReactNode, ComponentType } from 'react';
declare type HeaderProps = {
    onToggle: () => void;
    isOpen?: boolean;
};
declare type WithExpanderProps = {
    isOpen: boolean;
    onToggle: () => void;
    children: ReactNode;
    Header: ComponentType<HeaderProps>;
};
export declare const WithExpander: React.FunctionComponent<WithExpanderProps>;
export {};
