import { type Ref } from 'vue'; /** * Resolve the executable agent without holding the page on the network round trip. * * The UI mounts right away with the harness last confirmed for this agent in this * browser, or Claude when there is none, so the Claude wake starts with the page * and the user can type. `confirmed` only turns true once the server answered for * the current agent and conversation; sending must wait for it, because sending * picks the stream protocol and a remembered harness can be stale. A failed * lookup never keeps a guess: it clears the selection and reports the error. */ export declare function useAgentHarness(input: { workspaceId: Ref; agentId: Ref; branch: Ref; conversationId?: Ref; conversationScope?: Ref; onConversationCleared?: () => void; }): { harness: any; loading: Ref; confirmed: Ref; error: Ref; retry: () => void; };