import type { InferSchema } from "../../extensions/schema/index.js"; import type { ChildRunResultMode } from "../child-run/result-summary.js"; import type { RuntimeAgentThinkingConfig } from "../runtime/agent-definition.js"; /** Default value for hosted child agent ID. */ export declare const DEFAULT_HOSTED_CHILD_AGENT_ID = "invoke-agent-child"; export declare const MAX_HOSTED_CHILD_DELEGATION_DEPTH = 8; export declare const MAX_HOSTED_CHILD_PROJECT_REFERENCE_INPUT_CODE_UNITS = 8192; /** Hosted child fork result return mode. */ export type HostedChildForkResultMode = ChildRunResultMode; export declare const getHostedChildForkToolInputSchema: () => import("../../internal-agents/schema.js").Schema; prompt: import("../../internal-agents/schema.js").Schema; context: import("../../internal-agents/schema.js").Schema>; project_reference: import("../../internal-agents/schema.js").Schema; tools: import("../../internal-agents/schema.js").Schema; model: import("../../internal-agents/schema.js").Schema; temperature: import("../../internal-agents/schema.js").Schema; thinking: import("../../internal-agents/schema.js").Schema; max_steps: import("../../internal-agents/schema.js").Schema; result_mode: import("../../internal-agents/schema.js").Schema<"summary" | "full" | "structured" | undefined>; }>>; /** Schema for hosted child fork tool input. * @deprecated Use getHostedChildForkToolInputSchema() */ export declare const hostedChildForkToolInputSchema: import("../../internal-agents/schema.js").Schema; prompt: import("../../internal-agents/schema.js").Schema; context: import("../../internal-agents/schema.js").Schema>; project_reference: import("../../internal-agents/schema.js").Schema; tools: import("../../internal-agents/schema.js").Schema; model: import("../../internal-agents/schema.js").Schema; temperature: import("../../internal-agents/schema.js").Schema; thinking: import("../../internal-agents/schema.js").Schema; max_steps: import("../../internal-agents/schema.js").Schema; result_mode: import("../../internal-agents/schema.js").Schema<"summary" | "full" | "structured" | undefined>; }>>; /** Input payload for hosted child fork tool. */ type ParsedHostedChildForkToolInput = InferSchema>; export type HostedChildForkToolInput = Omit & { context?: ParsedHostedChildForkToolInput["context"]; }; /** Configuration used by hosted child fork runtime. */ export type HostedChildForkRuntimeConfig = { description: string; effectivePrompt: string; requestedTools: string[] | undefined; forkModel: string; provider: string; temperature?: number; maxSteps: number; thinkingConfig: RuntimeAgentThinkingConfig | undefined; }; export type HostedChildInvocationContext = { root_conversation_id?: string; root_run_id?: string; root_message_id?: string; parent_conversation_id?: string; parent_run_id?: string; parent_message_id?: string; tool_call_id?: string; delegation_depth: number; }; /** Adds Veryfront invocation metadata to hosted child fork input. */ export declare function withHostedChildInvocationContext(forkInput: HostedChildForkToolInput, input: { parentConversationId?: string; conversationId?: string; parentRunId?: string; parentMessageId?: string; toolCallId: string; trustedInvocationContext?: HostedChildInvocationContext; }): HostedChildForkToolInput; /** Input payload for resolve hosted child fork runtime config. */ export type ResolveHostedChildForkRuntimeConfigInput = { forkInput: Pick; contextModel?: string; defaultModel: string; defaultMaxSteps: number; runId: string; resolveModelId: (modelId: string) => string; resolveProvider: (modelId: string) => string; resolveModelThinking?: (modelId: string) => RuntimeAgentThinkingConfig | undefined; }; /** Resolves hosted child fork thinking override. */ export declare function resolveHostedChildForkThinkingOverride(thinking: HostedChildForkToolInput["thinking"]): RuntimeAgentThinkingConfig | undefined; /** Builds the effective hosted child fork prompt. */ export declare function buildHostedChildForkEffectivePrompt(input: { description: string; prompt: string; context: HostedChildForkToolInput["context"]; runId: string; }): string; /** Configuration used by resolve hosted child fork runtime. */ export declare function resolveHostedChildForkRuntimeConfig(input: ResolveHostedChildForkRuntimeConfigInput): HostedChildForkRuntimeConfig; export {}; //# sourceMappingURL=child-tool-input.d.ts.map