import type { AgentMessageDirection, AgentMessageRecord } from '../../../shared/messages.js'; export declare class MessageStore { private readonly agentId; constructor(agentId: string); appendIfAbsent(record: AgentMessageRecord): Promise<{ inserted: boolean; record: AgentMessageRecord; }>; appendManyIfAbsent(records: AgentMessageRecord[]): Promise<{ inserted: number; }>; readAll(): Promise; hasMessageId(messageId: string): Promise; readLatest(input: { before?: string; channel?: string; direction?: AgentMessageDirection; limit: number; matches?: (entry: AgentMessageRecord) => boolean; since?: string; }): Promise; private log; } //# sourceMappingURL=message.store.d.ts.map