export interface ObservedTelegramMessage { accountId: string; chatId: string; messageId: string; senderId: string; senderUsername?: string; isGroup: boolean; threadId?: string; text: string; timestamp: number; } declare class TelegramObservedCache { private readonly store; record(msg: ObservedTelegramMessage): void; read(accountId: string, chatId: string, limit?: number): ObservedTelegramMessage[]; clear(): void; } export declare const telegramObservedCache: TelegramObservedCache; export {};