interface Registration { time: number; key: string; generation: number; } export declare class AvoDeduplicator { avoFunctionsEvents: Array; manualEvents: Array; private avoFunctionsHead; private manualHead; private msToConsiderOld; private now; private avoFunctionsLatest; private manualLatest; private nextGeneration; avoFunctionsEventsParams: { [key: string]: { [propName: string]: any; }; }; manualEventsParams: { [key: string]: { [propName: string]: any; }; }; private static dedupKey; shouldRegisterEvent(eventName: string, params: { [propName: string]: any; }, fromAvoFunction: boolean, streamId?: string): boolean; private hasSameEventAs; private lookForEventIn; hasSeenEventParams(params: { [propName: string]: any; }, checkInAvoFunctions: boolean): boolean; private lookForEventParamsIn; private clearOldEvents; private expire; private _clearEvents; } export {};