import { ComponentType } from 'react';
export declare function useCloser({ onClose, closable, ...rest }: {
    onClose?: Function;
    closable?: boolean;
    [key: string]: any;
}): [ComponentType<any>, boolean, any];
export default useCloser;
//# sourceMappingURL=useCloser.d.ts.map