import React from 'react';
import { Scope } from './EventListener';
interface EventConfig {
    event: string;
    options?: AddEventListenerOptions;
    scope?: Scope;
}
interface EventApi {
    value: any;
}
interface Props extends EventConfig {
    children?: React.ReactNode;
}
interface RenderProps extends EventConfig {
    children: (props: EventApi) => {};
}
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare function useEvent({ event, options, scope, }: EventConfig): EventApi;
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare function Event({ children, ...props }: RenderProps): {};
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare const EventContext: React.Context<EventApi>;
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare function EventProvider({ children, ...props }: Props): JSX.Element;
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare const useEventContext: () => EventApi;
export {};
