/** Parallel OpenCode child-session turn for mid-turn steering Q&A. */ export type OpencodeModelRef = { providerID: string; modelID: string; }; export declare function parseOpencodeModelRef(model: string): OpencodeModelRef | undefined; export declare function buildSteeringSidecarPrompt(userQuestion: string, conversationSummary: string): string; type OpencodeMessagePart = { type?: string; text?: string; state?: { status?: string; output?: string; }; }; type OpencodeMessageResponse = { info?: { role?: string; id?: string; }; parts?: OpencodeMessagePart[]; }; export declare function extractAssistantReplyParts(response: OpencodeMessageResponse): string[]; export type SteeringSidecarOptions = { attachUrl: string; parentSessionId: string; userQuestion: string; conversationSummary?: string; model: string; agentId: string; cwd?: string; /** Max wait for the child-session /message round-trip. */ timeoutMs?: number; }; /** * Run a parallel OpenCode turn on a child session so the user gets an immediate * answer while the main session stays blocked on a long-running tool. */ export declare function runSteeringSidecarReply(opts: SteeringSidecarOptions): Promise; export {};