export type EventType = string; export type EventPayload = Record; export interface EventRecord extends EventPayload { ts: string; event: EventType; } export declare function eventLogPath(): string; export declare function _resetForTest(file?: string): void; export declare function onEvent(listener: (record: EventRecord) => void): () => void; export declare function emit(event: EventType, payload?: EventPayload, overrides?: { ts?: string; }): void; export declare function emitFriction(surface: string, failureId: string, payload?: EventPayload): void; export declare function query(options?: { startDate?: Date; endDate?: Date; eventTypes?: EventType[]; bundle?: string; }): EventRecord[];