import React, { ReactNode } from 'react';
export declare const SIDEBAR_EXCEPT_SELECTORS: string[];
export type ClickOutsideProps = {
    /**
     * the element that clicks outside is a call to some function
     */
    children: ReactNode | ReactNode[];
    /**
     * class name
     */
    className?: string;
    /**
     * except element which click don't call onClickOutside function
     */
    exceptSelectors?: string[];
    /**
     * stop the event, you can continue by calling the dispatchAgain callback
     */
    isConfirmable?: boolean;
    /**
     * function what we should do after clicking outside
     */
    onOutsideClick: (e: MouseEvent | React.MouseEvent<HTMLElement, MouseEvent>, dispatchAgain: VoidFunction) => void;
};
export declare const ClickOutside: React.MemoExoticComponent<({ onOutsideClick, exceptSelectors, children, className, isConfirmable, }: ClickOutsideProps) => JSX.Element>;
