import React from 'react'; import { Intergalactic, UnknownProperties } from 'intergalactic/core'; import { NodeByRef } from 'intergalactic/utils/lib/ref'; /** @deprecated */ export interface IOutsideClickProps extends OutsideClickProps, UnknownProperties { } export type OutsideClickProps = { /** * Function called on click outside the component from excludeRefs * @default () => {} */ onOutsideClick?: (e?: React.SyntheticEvent) => void; /** * List of refs that will not trigger `onOutsideClick` when clicked * @default [] */ excludeRefs?: Array; /** Root element * @default document * */ root?: NodeByRef; }; declare const _default: Intergalactic.Component; export default _default;