import React from 'react';
export interface ClickOutsideConfig {
    /**
     * @since 10.19.0
     */
    onClickOutside: (event: MouseEvent) => void;
    /**
     * @since 10.19.0
     */
    refs: Array<React.RefObject<HTMLElement>>;
}
export interface ClickOutsideProps extends ClickOutsideConfig {
    /**
     * @since 10.19.0
     */
    children: React.ReactElement;
}
export declare function isEventSource(ref: React.RefObject<any>, event: Event): any;
export declare function useClickOutside({ refs, onClickOutside, }: ClickOutsideConfig): void;
