import React from 'react';
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare type Scope = Window | React.RefObject<HTMLElement> | React.RefObject<HTMLElement>[];
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export interface Config {
    /**
     * @since 10.19.0
     */
    dependencies?: any[];
    /**
     * @since 10.19.0
     */
    event: string;
    /**
     * @since 10.19.0
     */
    handler: React.EventHandler<any>;
    /**
     * @since 10.19.0
     */
    options?: AddEventListenerOptions;
    /**
     * @since 10.19.0
     */
    scope?: Scope;
    /**
     * @since 10.19.0
     */
    noopHandler?: boolean;
}
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export interface EventCallbackConfig {
    /**
     * @since 10.19.0
     */
    handler: React.EventHandler<any>;
    /**
     * @since 10.19.0
     */
    dependencies?: Array<any>;
}
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare function useLayoutEventListener({ dependencies, event, handler, options, scope, noopHandler, }: Config): void;
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare function useEventListener({ dependencies, event, handler, options, scope, noopHandler, }: Config): void;
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare function useEventCallback({ handler, dependencies, }: EventCallbackConfig): React.EventHandler<any>;
