import type { Router } from "../router.js"; type OpenClawAgentEntry = { id?: string; name?: string; workspace?: string; model?: string; isDefault?: boolean; }; type LocalAgentSnapshot = { id: string; status: string; currentTask: string | null; runId: string | null; startedAt: string | null; blockers: string[]; }; type LocalSnapshot = { agents: LocalAgentSnapshot[]; }; type AgentRun = { agentId: string; startedAt: string | null; status: string; }; type AgentRunStoreSnapshot = { runs: Record>; }; type AgentContextStoreSnapshot = { agents: Record; }; type AgentsCatalogDeps = { listAgents: () => Promise; loadLocalSnapshot: () => Promise; readAgentContexts: () => AgentContextStoreSnapshot; readAgentRuns: () => AgentRunStoreSnapshot; sendJson: (res: TRes, status: number, payload: unknown) => void; safeErrorMessage: (err: unknown) => string; }; export declare function registerAgentsCatalogRoutes(router: Router, TReq, TRes>, deps: AgentsCatalogDeps): void; export {};