/** * Agent Queue Sync and Status * * Syncs queued agent writes from Supabase to local files by replaying * each queued item through the kernel dispatch. Also provides status * lookup for individual queue entries. */ export interface AgentQueueSyncInput { projectId?: string; limit?: number; facadeFilter?: string; } export interface AgentQueueSyncOutput { synced: number; failed: number; items: AgentQueueSyncItem[]; } interface AgentQueueSyncItem { queue_id: string; facade: string; action: string; status: 'synced' | 'error'; result?: unknown; error?: string; provenance_ref?: string; } export interface AgentQueueStatusInput { queueId: string; } export interface AgentQueueStatusOutput { status: 'pending' | 'synced' | 'error' | 'not_found'; position?: number; created_at?: string; synced_at?: string; sync_result?: unknown; sync_error?: string; provenance_ref?: string; } /** * Sync queued agent writes from Supabase to local files. * Queries the agent_queue table for unsynced rows, dispatches each one through * the kernel, and records the outcome back in Supabase. */ export declare function agentQueueSync(input: AgentQueueSyncInput): Promise; /** * Check the status of a single queued item by ID. */ export declare function agentQueueStatus(input: AgentQueueStatusInput): Promise; export {}; //# sourceMappingURL=agentQueue.d.ts.map