/** */ import * as React from 'react'; import { Callback, CMSEvent } from '../core'; export declare function useCMSEvent(event: E['type'] | E['type'][], callback: Callback, deps: React.DependencyList): void; export declare const useEventSubscription: typeof useCMSEvent; export declare function useEvent(eventType: E['type']): { dispatch: (event: Omit) => void; subscribe: (callback: (event: E) => any) => () => void; };