import { DynamicEvents } from '../../../../events'; import { EventArgs } from '../types'; type DynamicEventListener = (...args: EventArgs) => void; /** Allows us to subscribe to all dynamicEvents with a hook, even the internal ones */ export declare const useInternalDynamicEvents: (event: E, listener: DynamicEventListener) => void; /** Allows subscribing to dynamic events directly inside components with a hook */ export declare const useDynamicEvents: (event: E, listener: DynamicEventListener) => void; export {};