export interface InboxEntry { id: string; ts: number; from: string; channel?: string; dm: boolean; text: string; } /** Bounded inbox (cap 100, omp IrcBus precedent) with optional durable sink. */ export declare class Inbox { private readonly cap; private readonly persist?; private entries; constructor(cap?: number, persist?: ((entry: InboxEntry) => void) | undefined); add(entry: InboxEntry): InboxEntry; /** Latest-first, optionally filtered to one channel. */ list(limit?: number, channel?: string): InboxEntry[]; get size(): number; }