import { type ConversationRunProjection } from "../conversation/durable.js"; import { type HostedChildRunIdentifiers } from "./child-status.js"; /** Input payload for hosted child conversation body. */ export interface HostedChildConversationBodyInput { ensureProjectId?: string | null; parentConversationId: string; parentRunId: string; parentMessageId: string; spawnedFromToolCallId: string; description: string; } /** Input payload for bootstrap hosted child run. */ export interface BootstrapHostedChildRunInput extends HostedChildConversationBodyInput { authToken: string; apiUrl: string; runProjectId?: string | null; prompt: string; runId?: string; agentId: string; implementationKind?: string | null; runtimeTargetKind?: "main_branch" | "environment" | "preview_branch" | null; runtimeTargetEnvironmentId?: string | null; branchId?: string | null; } /** Result returned from bootstrap hosted child run. */ export interface BootstrapHostedChildRunResult extends HostedChildRunIdentifiers { status: ConversationRunProjection["status"]; } /** Builds hosted child conversation body. */ export declare function buildHostedChildConversationBody(input: HostedChildConversationBodyInput): { type: "project_agent"; title: string; metadata: { hiddenFromChatList: boolean; projectAgentChildRun: { parentConversationId: string; parentRunId: string; spawnedFromMessageId: string; spawnedFromToolCallId: string; description: string; }; }; project_id?: string | undefined; }; /** Bootstrap hosted child run helper. */ export declare function bootstrapHostedChildRun(input: BootstrapHostedChildRunInput): Promise; //# sourceMappingURL=child-bootstrap.d.ts.map