import * as React from 'react'; export interface IOutsideClickProps { event?: string; onClick?: (event?: any) => void; clickRoots?: () => Array; } export interface IOutsideClickState { } export declare class OutsideClick extends React.Component { static defaultProps: { event: string; }; roots: Array; ref: (originalRef: any) => (el: any) => void; componentDidMount(): void; componentWillUnmount(): void; onClickOutside: (event: any) => void; render(): React.ReactElement; }