interface BuzzEventRecord { id: string; pubkey: string; created_at: number; kind: number; tags: string[][]; content: string; sig: string; } interface BuzzDeadLetterRecord { event: BuzzEventRecord; reason: string; status?: number; recordedAt: string; } interface BuzzDeadLetterStore { listUnreconciled(limit: number): Promise; markReconciled(eventId: string, reconciledAt: string): Promise; } interface BuzzPersistence { ready: Promise; deadLetterStore: BuzzDeadLetterStore; } interface PoolLike { query(sql: string, params?: unknown[]): Promise<{ rows: Record[]; }>; end(): Promise; } interface BuzzReconcileRuntime { pool: PoolLike; persistence: BuzzPersistence; signEnvelope(secret: string, timestampSeconds: number, body: string): Promise; } export interface BuzzReconcileOptions { cwd?: string; env?: Record; limit?: number; dryRun?: boolean; fetchImpl?: typeof fetch; now?: () => number; requestTimeoutMs?: number; signal?: AbortSignal; /** Dependency injection for deterministic tests; production resolves workspace packages. */ runtime?: BuzzReconcileRuntime; } export interface BuzzReconcileReport { target: "buzz"; consumerId: string; dryRun: boolean; attempted: number; reconciled: number; } /** Replays one bounded durable backlog through the ordinary verified Buzz ingress route. */ export declare function runBuzzReconciliation(options?: BuzzReconcileOptions): Promise; export {}; //# sourceMappingURL=buzz-reconcile.d.ts.map