import { z } from "zod"; /** * A JSON representation of a Conversation instance. */ export declare const conversationSchema: z.ZodObject<{ id: z.ZodOptional; history: z.ZodOptional; role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"assistant">, z.ZodLiteral<"system">, z.ZodLiteral<"function">]>; content: z.ZodNullable; name: z.ZodOptional; function_call: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; arguments: Record; }, { name: string; arguments: Record; }>>; model: z.ZodOptional; flags: z.ZodOptional, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { role: "function" | "user" | "assistant" | "system"; content: string | null; id?: string | undefined; name?: string | undefined; function_call?: { name: string; arguments: Record; } | undefined; model?: string | undefined; flags?: string[] | null | undefined; }, { role: "function" | "user" | "assistant" | "system"; content: string | null; id?: string | undefined; name?: string | undefined; function_call?: { name: string; arguments: Record; } | undefined; model?: string | undefined; flags?: string[] | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { messages?: { role: "function" | "user" | "assistant" | "system"; content: string | null; id?: string | undefined; name?: string | undefined; function_call?: { name: string; arguments: Record; } | undefined; model?: string | undefined; flags?: string[] | null | undefined; }[] | undefined; }, { messages?: { role: "function" | "user" | "assistant" | "system"; content: string | null; id?: string | undefined; name?: string | undefined; function_call?: { name: string; arguments: Record; } | undefined; model?: string | undefined; flags?: string[] | null | undefined; }[] | undefined; }>>; config: z.ZodOptional; dry: z.ZodOptional; disableModeration: z.ZodOptional]>>; apiKey: z.ZodOptional>; model: z.ZodOptional; temperature: z.ZodOptional; top_p: z.ZodOptional; stream: z.ZodOptional; stop: z.ZodOptional]>, z.ZodNull]>>; max_tokens: z.ZodOptional; presence_penalty: z.ZodOptional; frequency_penalty: z.ZodOptional; logit_bias: z.ZodOptional, z.ZodNumber>>; user: z.ZodOptional; function_call: z.ZodOptional, z.ZodLiteral<"auto">, z.ZodObject<{ name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; }, { name: string; }>]>>; }, "strip", z.ZodTypeAny, { context?: string | undefined; dry?: boolean | undefined; disableModeration?: boolean | "soft" | undefined; apiKey?: string | undefined; model?: string | undefined; temperature?: number | undefined; top_p?: number | undefined; stream?: boolean | undefined; stop?: string | string[] | null | undefined; max_tokens?: number | undefined; presence_penalty?: number | undefined; frequency_penalty?: number | undefined; logit_bias?: Record | undefined; user?: string | undefined; function_call?: "none" | "auto" | { name: string; } | undefined; }, { context?: string | undefined; dry?: boolean | undefined; disableModeration?: boolean | "soft" | undefined; apiKey?: string | undefined; model?: string | undefined; temperature?: number | undefined; top_p?: number | undefined; stream?: boolean | undefined; stop?: string | string[] | null | undefined; max_tokens?: number | undefined; presence_penalty?: number | undefined; frequency_penalty?: number | undefined; logit_bias?: Record | undefined; user?: string | undefined; function_call?: "none" | "auto" | { name: string; } | undefined; }>>; callableFunctions: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; parameters: z.ZodOptional; description: z.ZodOptional; default: z.ZodOptional; type: z.ZodLiteral<"object">; examples: z.ZodOptional>; readOnly: z.ZodOptional; writeOnly: z.ZodOptional; deprecated: z.ZodOptional; $comment: z.ZodOptional; required: z.ZodOptional>; unevaluatedProperties: z.ZodOptional; minProperties: z.ZodOptional; maxProperties: z.ZodOptional; properties: z.ZodOptional>>; patternProperties: z.ZodOptional>>; additionalProperties: z.ZodOptional]>>; }, "strip", z.ZodTypeAny, { type: "object"; title?: string | undefined; description?: string | undefined; default?: any; examples?: any[] | undefined; readOnly?: boolean | undefined; writeOnly?: boolean | undefined; deprecated?: boolean | undefined; $comment?: string | undefined; required?: string[] | undefined; unevaluatedProperties?: boolean | undefined; minProperties?: number | undefined; maxProperties?: number | undefined; properties?: Record | undefined; patternProperties?: Record | undefined; additionalProperties?: boolean | import("./jsonSchema.schema.js").JsonSchema | undefined; }, { type: "object"; title?: string | undefined; description?: string | undefined; default?: any; examples?: any[] | undefined; readOnly?: boolean | undefined; writeOnly?: boolean | undefined; deprecated?: boolean | undefined; $comment?: string | undefined; required?: string[] | undefined; unevaluatedProperties?: boolean | undefined; minProperties?: number | undefined; maxProperties?: number | undefined; properties?: Record | undefined; patternProperties?: Record | undefined; additionalProperties?: boolean | import("./jsonSchema.schema.js").JsonSchema | undefined; }>>; }, "strip", z.ZodTypeAny, { name: string; id?: string | undefined; description?: string | undefined; parameters?: { type: "object"; title?: string | undefined; description?: string | undefined; default?: any; examples?: any[] | undefined; readOnly?: boolean | undefined; writeOnly?: boolean | undefined; deprecated?: boolean | undefined; $comment?: string | undefined; required?: string[] | undefined; unevaluatedProperties?: boolean | undefined; minProperties?: number | undefined; maxProperties?: number | undefined; properties?: Record | undefined; patternProperties?: Record | undefined; additionalProperties?: boolean | import("./jsonSchema.schema.js").JsonSchema | undefined; } | undefined; }, { name: string; id?: string | undefined; description?: string | undefined; parameters?: { type: "object"; title?: string | undefined; description?: string | undefined; default?: any; examples?: any[] | undefined; readOnly?: boolean | undefined; writeOnly?: boolean | undefined; deprecated?: boolean | undefined; $comment?: string | undefined; required?: string[] | undefined; unevaluatedProperties?: boolean | undefined; minProperties?: number | undefined; maxProperties?: number | undefined; properties?: Record | undefined; patternProperties?: Record | undefined; additionalProperties?: boolean | import("./jsonSchema.schema.js").JsonSchema | undefined; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { functions?: { name: string; id?: string | undefined; description?: string | undefined; parameters?: { type: "object"; title?: string | undefined; description?: string | undefined; default?: any; examples?: any[] | undefined; readOnly?: boolean | undefined; writeOnly?: boolean | undefined; deprecated?: boolean | undefined; $comment?: string | undefined; required?: string[] | undefined; unevaluatedProperties?: boolean | undefined; minProperties?: number | undefined; maxProperties?: number | undefined; properties?: Record | undefined; patternProperties?: Record | undefined; additionalProperties?: boolean | import("./jsonSchema.schema.js").JsonSchema | undefined; } | undefined; }[] | undefined; }, { functions?: { name: string; id?: string | undefined; description?: string | undefined; parameters?: { type: "object"; title?: string | undefined; description?: string | undefined; default?: any; examples?: any[] | undefined; readOnly?: boolean | undefined; writeOnly?: boolean | undefined; deprecated?: boolean | undefined; $comment?: string | undefined; required?: string[] | undefined; unevaluatedProperties?: boolean | undefined; minProperties?: number | undefined; maxProperties?: number | undefined; properties?: Record | undefined; patternProperties?: Record | undefined; additionalProperties?: boolean | import("./jsonSchema.schema.js").JsonSchema | undefined; } | undefined; }[] | undefined; }>>; requestOptions: z.ZodOptional>; proxy: z.ZodOptional; protocol: z.ZodOptional>; auth: z.ZodOptional>; }, "strip", z.ZodTypeAny, { host: string; port?: number | undefined; protocol?: "http" | "https" | undefined; auth?: { username: string; password: string; } | undefined; }, { host: string; port?: number | undefined; protocol?: "http" | "https" | undefined; auth?: { username: string; password: string; } | undefined; }>>; }, "strip", z.ZodTypeAny, { headers?: Record | undefined; proxy?: { host: string; port?: number | undefined; protocol?: "http" | "https" | undefined; auth?: { username: string; password: string; } | undefined; } | undefined; }, { headers?: Record | undefined; proxy?: { host: string; port?: number | undefined; protocol?: "http" | "https" | undefined; auth?: { username: string; password: string; } | undefined; } | undefined; }>>; pluginsData: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id?: string | undefined; history?: { messages?: { role: "function" | "user" | "assistant" | "system"; content: string | null; id?: string | undefined; name?: string | undefined; function_call?: { name: string; arguments: Record; } | undefined; model?: string | undefined; flags?: string[] | null | undefined; }[] | undefined; } | undefined; config?: { context?: string | undefined; dry?: boolean | undefined; disableModeration?: boolean | "soft" | undefined; apiKey?: string | undefined; model?: string | undefined; temperature?: number | undefined; top_p?: number | undefined; stream?: boolean | undefined; stop?: string | string[] | null | undefined; max_tokens?: number | undefined; presence_penalty?: number | undefined; frequency_penalty?: number | undefined; logit_bias?: Record | undefined; user?: string | undefined; function_call?: "none" | "auto" | { name: string; } | undefined; } | undefined; callableFunctions?: { functions?: { name: string; id?: string | undefined; description?: string | undefined; parameters?: { type: "object"; title?: string | undefined; description?: string | undefined; default?: any; examples?: any[] | undefined; readOnly?: boolean | undefined; writeOnly?: boolean | undefined; deprecated?: boolean | undefined; $comment?: string | undefined; required?: string[] | undefined; unevaluatedProperties?: boolean | undefined; minProperties?: number | undefined; maxProperties?: number | undefined; properties?: Record | undefined; patternProperties?: Record | undefined; additionalProperties?: boolean | import("./jsonSchema.schema.js").JsonSchema | undefined; } | undefined; }[] | undefined; } | undefined; requestOptions?: { headers?: Record | undefined; proxy?: { host: string; port?: number | undefined; protocol?: "http" | "https" | undefined; auth?: { username: string; password: string; } | undefined; } | undefined; } | undefined; pluginsData?: Record | undefined; }, { id?: string | undefined; history?: { messages?: { role: "function" | "user" | "assistant" | "system"; content: string | null; id?: string | undefined; name?: string | undefined; function_call?: { name: string; arguments: Record; } | undefined; model?: string | undefined; flags?: string[] | null | undefined; }[] | undefined; } | undefined; config?: { context?: string | undefined; dry?: boolean | undefined; disableModeration?: boolean | "soft" | undefined; apiKey?: string | undefined; model?: string | undefined; temperature?: number | undefined; top_p?: number | undefined; stream?: boolean | undefined; stop?: string | string[] | null | undefined; max_tokens?: number | undefined; presence_penalty?: number | undefined; frequency_penalty?: number | undefined; logit_bias?: Record | undefined; user?: string | undefined; function_call?: "none" | "auto" | { name: string; } | undefined; } | undefined; callableFunctions?: { functions?: { name: string; id?: string | undefined; description?: string | undefined; parameters?: { type: "object"; title?: string | undefined; description?: string | undefined; default?: any; examples?: any[] | undefined; readOnly?: boolean | undefined; writeOnly?: boolean | undefined; deprecated?: boolean | undefined; $comment?: string | undefined; required?: string[] | undefined; unevaluatedProperties?: boolean | undefined; minProperties?: number | undefined; maxProperties?: number | undefined; properties?: Record | undefined; patternProperties?: Record | undefined; additionalProperties?: boolean | import("./jsonSchema.schema.js").JsonSchema | undefined; } | undefined; }[] | undefined; } | undefined; requestOptions?: { headers?: Record | undefined; proxy?: { host: string; port?: number | undefined; protocol?: "http" | "https" | undefined; auth?: { username: string; password: string; } | undefined; } | undefined; } | undefined; pluginsData?: Record | undefined; }>; /** * A JSON representation of a Conversation instance. */ export type ConversationModel = z.infer;