import { IReactSpaceProps } from '../types';
/**
 * @name useCreateListener
 * @description Listener
 * @param { Pick<ISpace, 'accessToken'| 'listener'> }
 */
export declare const useCreateListener: ({ accessToken, listener, apiUrl, }: Pick<IReactSpaceProps, "listener"> & {
    accessToken: string;
    apiUrl: string;
}) => {
    dispatchEvent: (event: any) => Promise<void> | undefined;
};
//# sourceMappingURL=useCreateListener.d.ts.map