///
import { ComponentClass } from 'react';
export interface Options {
attachDelay: number;
shouldAttach(props: any, instance: any): boolean;
}
export interface WithClickOutsideProps {
onClickOutside(): void;
onClickOutsideActive?: boolean;
}
export declare type WithClickOutsideHOC = (decorated: ComponentClass) => ComponentClass;
export default function withClickOutside({attachDelay, shouldAttach}: Options): WithClickOutsideHOC;