import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CompletionArgs, CompletionArgs$Outbound } from "./completionargs.js"; import { ConversationInputs, ConversationInputs$Outbound } from "./conversationinputs.js"; export declare const ConversationRestartRequestHandoffExecution: { readonly Client: "client"; readonly Server: "server"; }; export type ConversationRestartRequestHandoffExecution = ClosedEnum; /** * Request to restart a new conversation from a given entry in the conversation. */ export type ConversationRestartRequest = { inputs: ConversationInputs; stream?: boolean | undefined; /** * Whether to store the results into our servers or not. */ store?: boolean | undefined; handoffExecution?: ConversationRestartRequestHandoffExecution | undefined; /** * White-listed arguments from the completion API */ completionArgs?: CompletionArgs | undefined; fromEntryId: string; }; /** @internal */ export declare const ConversationRestartRequestHandoffExecution$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ConversationRestartRequestHandoffExecution$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ConversationRestartRequestHandoffExecution$ { /** @deprecated use `ConversationRestartRequestHandoffExecution$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Client: "client"; readonly Server: "server"; }>; /** @deprecated use `ConversationRestartRequestHandoffExecution$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Client: "client"; readonly Server: "server"; }>; } /** @internal */ export declare const ConversationRestartRequest$inboundSchema: z.ZodType; /** @internal */ export type ConversationRestartRequest$Outbound = { inputs: ConversationInputs$Outbound; stream: boolean; store: boolean; handoff_execution: string; completion_args?: CompletionArgs$Outbound | undefined; from_entry_id: string; }; /** @internal */ export declare const ConversationRestartRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ConversationRestartRequest$ { /** @deprecated use `ConversationRestartRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ConversationRestartRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ConversationRestartRequest$Outbound` instead. */ type Outbound = ConversationRestartRequest$Outbound; } export declare function conversationRestartRequestToJSON(conversationRestartRequest: ConversationRestartRequest): string; export declare function conversationRestartRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=conversationrestartrequest.d.ts.map