export type EtEventHandler = (data: EventDataType) => unknown; export declare function clearEventState(): void; export declare function clearPendingEvents(): void; export declare function resetEventStateForRuntime(): void; export declare function getEventHandlerForEventValue(eventValue: string): EtEventHandler | undefined; export declare function publishEvent(eventValue: string, data: EventDataType): void; export declare function publicComponentEvent(_componentId: string, eventValue: string, data: EventDataType): void; export declare function flushPendingEvents(): void;