interface Options { flushEndpoint: string; } export interface LogData { key: string; value: any; [prop: string]: any; } export interface LogMetadata { uiRoute: string; recordedAt: string; } export type LogEntry = LogData & LogMetadata; export type LogsByType = Record; /** * Flushes the queue */ export declare function flush(): Promise; /** * Initializes BatchedLogger * * This module should be initialized with a configuration option before it is used */ export declare const initialize: (options: Options) => void; /** * Adds an item to the batch * @param item - item to add to the batch */ export declare function addToBatch(logType: string, item: LogData): void; export {};