import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Reasoning, Reasoning$Outbound } from "./reasoning.js"; import { Tool, Tool$Outbound } from "./tool.js"; export type RequestT = { /** * The text used to generate the response. Generally a question or a query. */ input: string; /** * The instructions inserted in the prompt. For this agent, the instructions are injected during search related steps. */ instructions?: string | null | undefined; /** * The tools available to the agent. Currently the only tool is retrieve. The `default` partition is used by default unless an other partition is specified. */ tools?: Array | undefined; /** * The model to use for the agent. Currently the only model is deep-search. */ model?: "deep-search" | undefined; reasoning?: Reasoning | undefined; /** * Whether to stream the response */ stream?: boolean | undefined; }; /** @internal */ export declare const RequestT$inboundSchema: z.ZodType; /** @internal */ export type RequestT$Outbound = { input: string; instructions?: string | null | undefined; tools?: Array | undefined; model: "deep-search"; reasoning?: Reasoning$Outbound | undefined; stream: boolean; }; /** @internal */ export declare const RequestT$outboundSchema: z.ZodType; export declare function requestToJSON(requestT: RequestT): string; export declare function requestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=request.d.ts.map