import type { ApplicationAgent } from './agent-protocol'; export declare function useAgents(): { agents: ApplicationAgent[]; loading: boolean; error?: Error; refresh(): void; }; export declare function useAgentConversation(agentCode: string): { newConversation: () => Promise; open: (id: string) => Promise; send: (text: string) => Promise; cancel: (runId: string) => Promise; submitInteraction: (id: string, revision: number, input: Record) => Promise; confirm: (id: string, revision: number) => Promise; cancelInteraction: (id: string) => Promise; reconcile: (id: string) => Promise; resolveManually: (id: string, outcome: "executed" | "not_executed", note: string) => Promise; refresh: () => Promise; recover: () => Promise; phase: "idle" | "loading" | "ready" | "error" | "disposed"; stream: "idle" | "connecting" | "live" | "reconnecting" | "disconnected"; persistence: "session" | "memory"; snapshot?: import("./agent-protocol").AgentConversationSnapshot; pending?: import("./agent-conversation").AgentPendingMutation; lastResolution?: { requestId: string; disposition: "acknowledged" | "closed"; }; error?: Error; }; //# sourceMappingURL=agent-hooks.d.ts.map