/// export interface OutsideInjectedProps { disableOnClickOutside(): void; enableOnClickOutside(): void; } export interface OutsideAdditionalProps { handleClickOutside?: React.MouseEventHandler; eventTypes?: string | Array; outsideClickIgnoreClass?: string; preventDefault?: boolean; stopPropagation?: boolean; excludeScrollbar?: boolean; } export interface OutsideClickOptions { excludeScrollbar?: boolean; } export declare type OutsideComponentProps

= OutsideAdditionalProps & Pick>; /** * Wraps the component with a helper that detects if the wrapped component * or its surrounding was clicked. * @param component The component to be notified when outside was clicked. * @param options The options for configuration. * @returns The wrapped component. */ export declare function withOutsideClick(Component: React.ComponentType, options?: OutsideClickOptions): React.ComponentClass>;