import type { InboxItem, InboxStatus } from './types.js'; export declare function projectInsightsToInbox(now?: Date): number; export declare function wakeSnoozedItems(now?: Date): number; export declare function listInbox(input?: { status?: InboxStatus; limit?: number; }): InboxItem[]; export declare function getInboxItem(id: string): InboxItem | null; export declare function transitionInboxItem(id: string, input: { status: InboxStatus; snoozedUntil?: string; resolution?: string; }, now?: Date): InboxItem; export declare function recordDecision(id: string, choice: string, note?: string, now?: Date): InboxItem; export declare function recordFeedback(id: string, rating: 'useful' | 'not_useful', note?: string, now?: Date): void; export declare function getInboxSubscriptionId(id: string): string; export interface OutboxClaim { id: string; item: InboxItem; attempt: number; } export declare function claimDelivery(now?: Date): OutboxClaim | null; export declare function finishDelivery(id: string, error?: unknown, attempt?: number, now?: Date): void; export declare function recoverExpiredDeliveries(now?: Date): number;