export interface ImageEntry { id: string; image: Buffer; timestamp: number; source: string; groupId?: string; metadata?: Record; } export interface ImageGroup { groupId: string; intent: string; source: string; timestamp: number; frameCount: number; summary: Record; } export type ImageEntryMeta = Omit; export declare class ImageBuffer { private entries; private groups; private maxSize; constructor(maxSize?: number); add(entry: ImageEntry): void; addGroup(group: ImageGroup): void; getById(id: string): ImageEntry | undefined; getByGroupFrame(groupId: string, frameIndex: number): ImageEntry | undefined; listEntries(options?: { source?: string; groupId?: string; last?: number; }): ImageEntryMeta[]; listGroups(): ImageGroup[]; clear(): number; get size(): number; private cleanupGroupIfEmpty; } //# sourceMappingURL=imageBuffer.d.ts.map