import type { IEmail, IEmailLogTraffic, TEmailLogTrafficWindow } from '../../dist_ts_interfaces/requests/email-ops.js'; export declare const EMAIL_LOG_RETENTION_MS: number; export declare const EMAIL_LOG_SEARCH_MAX_LENGTH = 200; export interface IEmailLogTrafficWindowDescriptor { window: TEmailLogTrafficWindow; label: string; durationMs: number; bucketSizeMs: number; } export interface IEmailLogSparseTrafficBucket { bucketStart: number; sent: number; received: number; failed: number; } export declare function normalizeEmailLogSearch(searchArg: unknown): string; export declare function selectEmailLogTrafficWindow(searchArg: string, oldestMatchAtArg: number | null, nowArg?: number): IEmailLogTrafficWindowDescriptor; export declare function buildEmailLogTraffic(descriptorArg: IEmailLogTrafficWindowDescriptor, sparseBucketsArg: IEmailLogSparseTrafficBucket[], nowArg?: number): IEmailLogTraffic; export declare function aggregateEmailLogTrafficInMemory(emailsArg: IEmail[], descriptorArg: IEmailLogTrafficWindowDescriptor, nowArg?: number): IEmailLogSparseTrafficBucket[];