import { z } from 'zod'; import type { TMessageContentParts, AgentSubagentGraph, FunctionTool } from './types/assistants'; import type { SearchResultData } from './types/web'; import type { TFile } from './types/files'; import { TFeedback } from './feedback'; import { Tools } from './types/assistants'; export declare const isUUID: z.ZodString; export declare enum AuthType { OVERRIDE_AUTH = "override_auth", USER_PROVIDED = "user_provided", SYSTEM_DEFINED = "system_defined" } export declare const authTypeSchema: z.ZodNativeEnum; export declare enum EModelEndpoint { azureOpenAI = "azureOpenAI", openAI = "openAI", google = "google", anthropic = "anthropic", assistants = "assistants", azureAssistants = "azureAssistants", agents = "agents", custom = "custom", bedrock = "bedrock" } /** Mirrors `@librechat/agents` providers */ export declare enum Providers { OPENAI = "openAI", ANTHROPIC = "anthropic", AZURE = "azureOpenAI", GOOGLE = "google", VERTEXAI = "vertexai", BEDROCK = "bedrock", MISTRALAI = "mistralai", MISTRAL = "mistral", DEEPSEEK = "deepseek", MOONSHOT = "moonshot", OPENROUTER = "openrouter", XAI = "xai" } /** * Endpoints that support direct PDF processing in the agent system */ export declare const documentSupportedProviders: Set; export declare const isOpenAILikeProvider: (provider?: string | null) => boolean; /** * Providers whose `usage_metadata.input_tokens` ALREADY INCLUDES cached tokens * (`input_token_details.cache_*` is a subset, not an additional charge): * Google/Vertex (`promptTokenCount`), OpenAI/Azure (`prompt_tokens`), and the * OpenAI-compatible family. `@librechat/agents`' `getAnthropicUsageMetadata` * folds `cache_creation` + `cache_read` into `input_tokens`, so Anthropic is a * subset provider too; without this the cache portion is billed twice. Bedrock * stays additive — its Converse path passes AWS `inputTokens` through unmodified. * Single source of truth shared by the backend billing path * (`packages/api/src/agents/usage.ts`) and the client usage normalization. */ export declare const cacheSubsetProviders: Set; export declare const inputTokensIncludesCache: (provider?: string | null) => boolean; export declare const isDocumentSupportedProvider: (provider?: string | null) => boolean; /** * Endpoints whose encoders actually build native audio/video payloads. Narrower than * `documentSupportedProviders`: a provider can accept PDFs and still emit nothing for * media, in which case the upload has to fall back to text/STT. */ export declare const mediaSupportedProviders: Set; export declare const isMediaSupportedProvider: (provider?: string | null) => boolean; export declare const isKnownProviderIdentifier: (provider?: string | null) => boolean; export declare const paramEndpoints: Set; export declare enum BedrockProviders { AI21 = "ai21", Amazon = "amazon", Anthropic = "anthropic", Cohere = "cohere", DeepSeek = "deepseek", Meta = "meta", MistralAI = "mistral", Moonshot = "moonshot", MoonshotAI = "moonshotai", OpenAI = "openai", StabilityAI = "stability", ZAI = "zai" } export declare const getModelKey: (endpoint: EModelEndpoint | string, model: string) => string; export declare const getSettingsKeys: (endpoint: EModelEndpoint | string, model: string) => string[]; export type AssistantsEndpoint = EModelEndpoint.assistants | EModelEndpoint.azureAssistants; export declare const isAssistantsEndpoint: (_endpoint?: AssistantsEndpoint | null | string) => boolean; export type AgentProvider = Exclude | string; export declare const isAgentsEndpoint: (_endpoint?: EModelEndpoint.agents | null | string) => boolean; export declare const isParamEndpoint: (endpoint: EModelEndpoint | string, endpointType?: EModelEndpoint | string) => boolean; export declare enum ImageDetail { low = "low", auto = "auto", high = "high" } export declare enum ReasoningEffort { unset = "", none = "none", minimal = "minimal", low = "low", medium = "medium", high = "high", xhigh = "xhigh", max = "max" } export declare enum ReasoningParameterFormat { disabled = "disabled", reasoningEffort = "reasoning_effort", reasoningObject = "reasoning_object" } export declare enum ReasoningResponseKey { reasoning = "reasoning", reasoningContent = "reasoning_content" } export declare enum AnthropicEffort { unset = "", low = "low", medium = "medium", high = "high", xhigh = "xhigh", max = "max" } /** * Controls whether the model's reasoning content is returned in responses. * * - `'auto'` - LibreChat decides: opt in to `'summarized'` for models that * omit by default (Opus 4.7+), leave the field off for older models. * - `'summarized'` - always request a post-hoc summary of the reasoning. * - `'omitted'` - always suppress reasoning content. Slightly lower latency. * * See https://platform.claude.com/docs/en/about-claude/models/whats-new-claude-4-7#thinking-content-omitted-by-default */ export declare enum ThinkingDisplay { auto = "auto", summarized = "summarized", omitted = "omitted" } /** * Wire-level values accepted by the Anthropic Messages API `thinking.display` * field. Excludes the LibreChat-only `'auto'` sentinel. */ export type ThinkingDisplayWireValue = Exclude; export declare enum BedrockReasoningConfig { low = "low", medium = "medium", high = "high" } export declare enum ReasoningSummary { none = "", auto = "auto", concise = "concise", detailed = "detailed" } export declare enum Verbosity { none = "", low = "low", medium = "medium", high = "high" } export declare enum ThinkingLevel { unset = "", minimal = "minimal", low = "low", medium = "medium", high = "high" } /** OpenAI Responses API `reasoning.mode` (GPT-5.6+). */ export declare enum ReasoningMode { unset = "", standard = "standard", pro = "pro" } /** OpenAI Responses API `reasoning.context` (GPT-5.6+). */ export declare enum ReasoningContext { unset = "", auto = "auto", current_turn = "current_turn", all_turns = "all_turns" } export declare const imageDetailNumeric: { low: number; auto: number; high: number; }; export declare const imageDetailValue: { 0: ImageDetail; 1: ImageDetail; 2: ImageDetail; }; export declare const eImageDetailSchema: z.ZodNativeEnum; export declare const eReasoningEffortSchema: z.ZodNativeEnum; export declare const eReasoningParameterFormatSchema: z.ZodNativeEnum; export declare const eReasoningResponseKeySchema: z.ZodNativeEnum; export declare const eAnthropicEffortSchema: z.ZodNativeEnum; export declare const eThinkingDisplaySchema: z.ZodNativeEnum; export declare const eReasoningSummarySchema: z.ZodNativeEnum; export declare const eVerbositySchema: z.ZodNativeEnum; export declare const eThinkingLevelSchema: z.ZodNativeEnum; export declare const eReasoningModeSchema: z.ZodNativeEnum; export declare const eReasoningContextSchema: z.ZodNativeEnum; export declare const defaultAssistantFormValues: { assistant: string; id: string; name: string; description: string; instructions: string; conversation_starters: never[]; model: string; functions: never[]; code_interpreter: boolean; image_vision: boolean; retrieval: boolean; append_current_datetime: boolean; }; export declare const defaultAgentFormValues: { agent: {}; id: string; name: string; description: string; instructions: string; model: string; model_parameters: {}; tools: never[]; tool_options: {}; provider: {}; edges: never[]; artifacts: string; recursion_limit: undefined; execute_code: boolean; file_search: boolean; web_search: boolean; memory: boolean; stateful_code_environment: "user"; code_environment_id: string | null | undefined; code_workspace_id: string | undefined; category: string; support_contact: { name: string; email: string; }; /** Optional allowlist. Only applies when `skills_enabled === true`. * Empty/undefined + enabled = full catalog; non-empty + enabled = narrow to ids. */ skills: string[] | undefined; /** Master toggle for skill use on this agent. `true` activates skills * (full catalog unless `skills` narrows it). Anything else = inactive. */ skills_enabled: boolean | undefined; /** Enables runtime skill creation without exposing an existing skill catalog. */ skill_authoring_enabled: boolean | undefined; /** Explicit catalog scope. Missing preserves the legacy enabled + empty = all behavior. */ skills_scope: SkillsScope | undefined; /** `undefined` = feature disabled by default (no subagent tool injected). */ subagents: { enabled?: boolean; allowSelf?: boolean; agent_ids?: string[]; graphs?: AgentSubagentGraph[]; } | undefined; /** Memory partition: 'agent' isolates memories per (user, agent); default shared pool */ memory_scope: MemoryScope | undefined; }; export declare const ImageVisionTool: FunctionTool; /** Structural on purpose: accepts assistants tools/tool calls and agents function tool * calls alike — the check only ever reads `type` and `function.name`. */ export declare const isImageVisionTool: (tool: { type?: string; function?: { name?: string; }; }) => boolean; export declare const openAISettings: { model: { default: "gpt-4o-mini"; }; temperature: { min: 0; max: 2; step: 0.01; default: 1; }; top_p: { min: 0; max: 1; step: 0.01; default: 1; }; presence_penalty: { min: -2; max: 2; step: 0.01; default: 0; }; frequency_penalty: { min: -2; max: 2; step: 0.01; default: 0; }; resendFiles: { default: true; }; maxContextTokens: { default: undefined; }; max_tokens: { default: undefined; }; imageDetail: { default: ImageDetail.auto; min: 0; max: 2; step: 1; }; }; export type GoogleThinkingBudgetBounds = { min: number; max: number; }; export declare const getGoogleThinkingBudgetBounds: (modelName: string) => GoogleThinkingBudgetBounds | undefined; export declare const getGoogleThinkingBudgetMax: (modelName: string) => number | undefined; export declare const googleSettings: { model: { default: "gemini-1.5-flash-latest"; }; maxContextTokens: { min: 10; max: 2000000; step: 1000; }; maxOutputTokens: { min: 1; max: 65535; step: 1; default: 8192; reset: (modelName: string) => number; set: (value: number, modelName: string) => number; }; temperature: { min: 0; max: 2; step: 0.01; default: 1; }; topP: { min: 0; max: 1; step: 0.01; default: 0.95; }; topK: { min: 1; max: 40; step: 1; default: 40; }; thinking: { default: true; }; thinkingBudget: { min: -1; max: 32000; step: 1; /** `-1` = Dynamic Thinking, meaning the model will adjust * the budget based on the complexity of the request. */ default: -1; }; thinkingLevel: { default: ThinkingLevel.unset; }; }; /** * Claude "Mythos-class" model families — new top-level classes (peers of * `opus`/`sonnet`/`haiku`) that ship with the post-Opus-4.7 modern profile: * adaptive thinking always on, raw thinking omitted by default (summarized * opt-in), sampling parameters rejected, and a 1M context window. The tier * word is the class name itself, so the `opus`/`sonnet` version parsers don't * cover them. * * Single source of truth: add a future sibling class name here and every * Mythos-class gate (adaptive thinking, sampling omission, prompt caching, 1M * context, 128K output) picks it up. */ export declare const MYTHOS_CLASS_FAMILIES: readonly ["fable", "mythos"]; /** Whether the model is a Claude Mythos-class model (e.g. `claude-fable-5`). */ export declare function isMythosClassModel(model: string): boolean; export declare const anthropicSettings: { model: { default: "claude-3-5-sonnet-latest"; }; temperature: { min: 0; max: 1; step: 0.01; default: 1; }; promptCache: { default: true; }; promptCacheTtl: { default: undefined; }; thinking: { default: true; }; thinkingBudget: { min: 1024; step: 100; max: 200000; default: 2000; }; maxOutputTokens: { min: 1; max: 128000; step: 1; default: 8192; reset: (modelName: string) => 8192 | 32000 | 128000 | 64000; set: (value: number, modelName: string) => number; }; topP: { min: 0; max: 1; step: 0.01; default: 0.7; }; topK: { min: 1; max: 40; step: 1; default: 5; }; resendFiles: { default: true; }; maxContextTokens: { default: undefined; }; legacy: { maxOutputTokens: { min: 1; max: 4096; step: 1; default: 4096; }; }; effort: { default: AnthropicEffort; options: AnthropicEffort[]; }; thinkingDisplay: { default: ThinkingDisplay; options: ThinkingDisplay[]; }; web_search: { default: false; }; }; export declare const agentsSettings: { model: { default: "gpt-3.5-turbo-test"; }; temperature: { min: 0; max: 1; step: 0.01; default: 1; }; top_p: { min: 0; max: 1; step: 0.01; default: 1; }; presence_penalty: { min: -2; max: 2; step: 0.01; default: 0; }; frequency_penalty: { min: -2; max: 2; step: 0.01; default: 0; }; resendFiles: { default: true; }; maxContextTokens: { default: undefined; }; max_tokens: { default: undefined; }; imageDetail: { default: ImageDetail.auto; }; }; export declare const endpointSettings: { openAI: { model: { default: "gpt-4o-mini"; }; temperature: { min: 0; max: 2; step: 0.01; default: 1; }; top_p: { min: 0; max: 1; step: 0.01; default: 1; }; presence_penalty: { min: -2; max: 2; step: 0.01; default: 0; }; frequency_penalty: { min: -2; max: 2; step: 0.01; default: 0; }; resendFiles: { default: true; }; maxContextTokens: { default: undefined; }; max_tokens: { default: undefined; }; imageDetail: { default: ImageDetail.auto; min: 0; max: 2; step: 1; }; }; google: { model: { default: "gemini-1.5-flash-latest"; }; maxContextTokens: { min: 10; max: 2000000; step: 1000; }; maxOutputTokens: { min: 1; max: 65535; step: 1; default: 8192; reset: (modelName: string) => number; set: (value: number, modelName: string) => number; }; temperature: { min: 0; max: 2; step: 0.01; default: 1; }; topP: { min: 0; max: 1; step: 0.01; default: 0.95; }; topK: { min: 1; max: 40; step: 1; default: 40; }; thinking: { default: true; }; thinkingBudget: { min: -1; max: 32000; step: 1; /** `-1` = Dynamic Thinking, meaning the model will adjust * the budget based on the complexity of the request. */ default: -1; }; thinkingLevel: { default: ThinkingLevel.unset; }; }; anthropic: { model: { default: "claude-3-5-sonnet-latest"; }; temperature: { min: 0; max: 1; step: 0.01; default: 1; }; promptCache: { default: true; }; promptCacheTtl: { default: undefined; }; thinking: { default: true; }; thinkingBudget: { min: 1024; step: 100; max: 200000; default: 2000; }; maxOutputTokens: { min: 1; max: 128000; step: 1; default: 8192; reset: (modelName: string) => 8192 | 32000 | 128000 | 64000; set: (value: number, modelName: string) => number; }; topP: { min: 0; max: 1; step: 0.01; default: 0.7; }; topK: { min: 1; max: 40; step: 1; default: 5; }; resendFiles: { default: true; }; maxContextTokens: { default: undefined; }; legacy: { maxOutputTokens: { min: 1; max: 4096; step: 1; default: 4096; }; }; effort: { default: AnthropicEffort; options: AnthropicEffort[]; }; thinkingDisplay: { default: ThinkingDisplay; options: ThinkingDisplay[]; }; web_search: { default: false; }; }; agents: { model: { default: "gpt-3.5-turbo-test"; }; temperature: { min: 0; max: 1; step: 0.01; default: 1; }; top_p: { min: 0; max: 1; step: 0.01; default: 1; }; presence_penalty: { min: -2; max: 2; step: 0.01; default: 0; }; frequency_penalty: { min: -2; max: 2; step: 0.01; default: 0; }; resendFiles: { default: true; }; maxContextTokens: { default: undefined; }; max_tokens: { default: undefined; }; imageDetail: { default: ImageDetail.auto; }; }; bedrock: { model: { default: "gpt-3.5-turbo-test"; }; temperature: { min: 0; max: 1; step: 0.01; default: 1; }; top_p: { min: 0; max: 1; step: 0.01; default: 1; }; presence_penalty: { min: -2; max: 2; step: 0.01; default: 0; }; frequency_penalty: { min: -2; max: 2; step: 0.01; default: 0; }; resendFiles: { default: true; }; maxContextTokens: { default: undefined; }; max_tokens: { default: undefined; }; imageDetail: { default: ImageDetail.auto; }; }; }; export declare const eModelEndpointSchema: z.ZodNativeEnum; export declare const extendedModelEndpointSchema: z.ZodUnion<[z.ZodNativeEnum, z.ZodString]>; export declare const tPluginAuthConfigSchema: z.ZodObject<{ authField: z.ZodString; label: z.ZodString; description: z.ZodString; optional: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>; export type TPluginAuthConfig = z.infer; export declare const tPluginSchema: z.ZodObject<{ name: z.ZodString; pluginKey: z.ZodString; description: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>; export type TPlugin = z.infer; export type TInput = { inputStr: string; }; export declare const tExampleSchema: z.ZodObject<{ input: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>; export type TExample = z.infer; export declare const tMessageSchema: z.ZodObject<{ messageId: z.ZodString; endpoint: z.ZodOptional; clientId: z.ZodOptional>; conversationId: z.ZodNullable; parentMessageId: z.ZodNullable; responseMessageId: z.ZodOptional>; overrideParentMessageId: z.ZodOptional>; bg: z.ZodOptional>; model: z.ZodOptional>; title: z.ZodDefault, z.ZodLiteral<"New Chat">]>>; sender: z.ZodOptional; text: z.ZodString; /** @deprecated */ generation: z.ZodOptional>; isCreatedByUser: z.ZodBoolean; /** True when the complete stored row came from outside the model. */ isUserSubmitted: z.ZodOptional; /** JSON pointers to caller-authored fields in an otherwise mixed model response. */ userSubmittedPaths: z.ZodOptional>; /** Exact HITL message-field identity for caller-authored values stored in mixed responses. */ userSubmittedMessageFieldPaths: z.ZodOptional; }, "strict", z.ZodTypeAny, { path: string; field: "answer" | "decision_response" | "decision_reason"; }, { path: string; field: "answer" | "decision_response" | "decision_reason"; }>, "many">>; isTemporary: z.ZodOptional; expiredAt: z.ZodOptional>; error: z.ZodOptional; clientTimestamp: z.ZodOptional; createdAt: z.ZodDefault>; updatedAt: z.ZodDefault>; current: z.ZodOptional; unfinished: z.ZodOptional; searchResult: z.ZodOptional; finish_reason: z.ZodOptional; thread_id: z.ZodOptional; iconURL: z.ZodOptional>; feedback: z.ZodOptional; tag: z.ZodEnum<["not_matched", "inaccurate", "bad_style", "missing_image", "unjustified_refusal", "not_helpful", "other", "accurate_reliable", "creative_solution", "clear_well_written", "attention_to_detail"]>; text: z.ZodOptional; }, "strip", z.ZodTypeAny, { rating: "thumbsUp" | "thumbsDown"; tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail"; text?: string | undefined; }, { rating: "thumbsUp" | "thumbsDown"; tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail"; text?: string | undefined; }>, { rating: "thumbsUp" | "thumbsDown"; tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail"; text?: string | undefined; }, { rating: "thumbsUp" | "thumbsDown"; tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail"; text?: string | undefined; }>>; /** metadata */ metadata: z.ZodOptional>; /** Output tokens for assistant messages, calibrated prompt-side estimate for user messages */ tokenCount: z.ZodOptional; contextMeta: z.ZodOptional; encoding: z.ZodOptional; fading: z.ZodOptional; budgetTokens: z.ZodNumber; masked: z.ZodBoolean; }, "strip", z.ZodTypeAny, { v: 1; budgetTokens: number; masked: boolean; }, { v: 1; budgetTokens: number; masked: boolean; }>>; fadingTiers: z.ZodOptional; budgetTokens: z.ZodNumber; masked: z.ZodBoolean; } & { agentId: z.ZodString; }, "strip", z.ZodTypeAny, { agentId: string; v: 1; budgetTokens: number; masked: boolean; }, { agentId: string; v: 1; budgetTokens: number; masked: boolean; }>, "many">>; }, "strip", z.ZodTypeAny, { calibrationRatio?: number | undefined; encoding?: string | undefined; fading?: { v: 1; budgetTokens: number; masked: boolean; } | undefined; fadingTiers?: { agentId: string; v: 1; budgetTokens: number; masked: boolean; }[] | undefined; }, { calibrationRatio?: number | undefined; encoding?: string | undefined; fading?: { v: 1; budgetTokens: number; masked: boolean; } | undefined; fadingTiers?: { agentId: string; v: 1; budgetTokens: number; masked: boolean; }[] | undefined; }>>; /** * Skill names the user invoked manually via the `$` popover on this turn. * Purely UI metadata — `SkillPills` renders these above the message * bubble so users can see which skills they asked for in history and on * reload. Runtime resolution uses the top-level payload field with the * same name. Empty / absent for model-invoked skills (shown as tool_call * content parts on the assistant message instead). */ manualSkills: z.ZodOptional>; /** * Skill names auto-primed on this turn because their `always-apply` * frontmatter flag is set. Persisted at turn time so the pinned-variant * pills on the user bubble survive reload and stay stable across later * edits to the skill's `alwaysApply` flag (the user bubble reflects * what actually ran, not the current catalog). */ alwaysAppliedSkills: z.ZodOptional>; /** * Verbatim excerpts the user quoted (via the "Add to chat" selection * popup) to reference on this turn. UI metadata that `MessageQuotes` * renders above the user bubble so the references persist on reload. The * excerpts are merged into the user message text sent to the model at * request time and counted in the user message token count. */ quotes: z.ZodOptional>; }, "strip", z.ZodTypeAny, { text: string; conversationId: string | null; title: string | null; parentMessageId: string | null; createdAt: string; updatedAt: string; messageId: string; isCreatedByUser: boolean; endpoint?: string | undefined; metadata?: Record | undefined; model?: string | null | undefined; error?: boolean | undefined; iconURL?: string | null | undefined; expiredAt?: string | null | undefined; isTemporary?: boolean | undefined; clientId?: string | null | undefined; responseMessageId?: string | null | undefined; overrideParentMessageId?: string | null | undefined; bg?: string | null | undefined; sender?: string | undefined; generation?: string | null | undefined; isUserSubmitted?: boolean | undefined; userSubmittedPaths?: string[] | undefined; userSubmittedMessageFieldPaths?: { path: string; field: "answer" | "decision_response" | "decision_reason"; }[] | undefined; clientTimestamp?: string | undefined; current?: boolean | undefined; unfinished?: boolean | undefined; searchResult?: boolean | undefined; finish_reason?: string | undefined; thread_id?: string | undefined; feedback?: { rating: "thumbsUp" | "thumbsDown"; tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail"; text?: string | undefined; } | undefined; tokenCount?: number | undefined; contextMeta?: { calibrationRatio?: number | undefined; encoding?: string | undefined; fading?: { v: 1; budgetTokens: number; masked: boolean; } | undefined; fadingTiers?: { agentId: string; v: 1; budgetTokens: number; masked: boolean; }[] | undefined; } | undefined; manualSkills?: string[] | undefined; alwaysAppliedSkills?: string[] | undefined; quotes?: string[] | undefined; }, { text: string; conversationId: string | null; parentMessageId: string | null; messageId: string; isCreatedByUser: boolean; endpoint?: string | undefined; metadata?: Record | undefined; model?: string | null | undefined; error?: boolean | undefined; title?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; iconURL?: string | null | undefined; expiredAt?: string | null | undefined; isTemporary?: boolean | undefined; clientId?: string | null | undefined; responseMessageId?: string | null | undefined; overrideParentMessageId?: string | null | undefined; bg?: string | null | undefined; sender?: string | undefined; generation?: string | null | undefined; isUserSubmitted?: boolean | undefined; userSubmittedPaths?: string[] | undefined; userSubmittedMessageFieldPaths?: { path: string; field: "answer" | "decision_response" | "decision_reason"; }[] | undefined; clientTimestamp?: string | undefined; current?: boolean | undefined; unfinished?: boolean | undefined; searchResult?: boolean | undefined; finish_reason?: string | undefined; thread_id?: string | undefined; feedback?: { rating: "thumbsUp" | "thumbsDown"; tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail"; text?: string | undefined; } | undefined; tokenCount?: number | undefined; contextMeta?: { calibrationRatio?: number | undefined; encoding?: string | undefined; fading?: { v: 1; budgetTokens: number; masked: boolean; } | undefined; fadingTiers?: { agentId: string; v: 1; budgetTokens: number; masked: boolean; }[] | undefined; } | undefined; manualSkills?: string[] | undefined; alwaysAppliedSkills?: string[] | undefined; quotes?: string[] | undefined; }>; /** * Which memory partition an agent reads/writes. * `user` = the shared personal pool (default); `agent` = a partition * isolated per (user, agent) so the agent only sees its own memories. */ export declare enum MemoryScope { user = "user", agent = "agent" } /** Catalog exposure for a persisted agent with skills enabled. */ export declare enum SkillsScope { all = "all", selected = "selected", none = "none" } /** Resolves explicit and legacy persisted-agent skill catalog states. */ export declare function resolveAgentSkillsScope(skills: readonly string[] | undefined, enabled: boolean | undefined, scope: SkillsScope | undefined): SkillsScope; export type MemoryArtifact = { key: string; value?: string; tokenCount?: number; type: 'update' | 'delete' | 'error'; /** Agent partition the write targeted; absent = shared personal pool */ agentId?: string; }; export type UIResource = { resourceId: string; uri: string; mimeType?: string; text?: string; [key: string]: unknown; }; export type WorkspaceChange = { profile: 'stateful'; operation: 'created' | 'updated'; path: string; }; export type TAttachmentMetadata = { type?: Tools; messageId: string; toolCallId: string; /** Saved-agent owner when provider tool-call ids repeat across handoffs. */ agentId?: string; /** Host run-step owner when one agent repeats a provider tool-call id. */ stepId?: string; workspaceChange?: WorkspaceChange; [Tools.memory]?: MemoryArtifact; [Tools.ui_resources]?: UIResource[]; [Tools.web_search]?: SearchResultData; [Tools.file_search]?: SearchResultData; }; export type TAttachment = (TFile & TAttachmentMetadata) | (Pick & { expiresAt: number; } & TAttachmentMetadata) | (Partial> & Pick & TAttachmentMetadata); export type TMessage = z.input & { children?: TMessage[]; content?: TMessageContentParts[]; files?: Partial[]; depth?: number; siblingIndex?: number; attachments?: TAttachment[]; clientTimestamp?: string; /** Client-only durable branch anchor while this message is an optimistic response. */ clientQueueParentMessageId?: string; feedback?: TFeedback; }; export declare const coerceNumber: z.ZodEffects, number | undefined, string | number>; type DocumentTypeValue = null | boolean | number | string | DocumentTypeValue[] | { [key: string]: DocumentTypeValue; }; export declare const subagentThreadLineageSchema: z.ZodObject<{ rootConversationId: z.ZodString; parentConversationId: z.ZodString; parentMessageId: z.ZodString; parentToolCallId: z.ZodString; parentAgentId: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>; export type TSubagentThreadLineage = z.infer; export declare const tConversationSchema: z.ZodObject<{ conversationId: z.ZodNullable; endpoint: z.ZodNullable>; endpointType: z.ZodOptional>>; isArchived: z.ZodOptional; /** When the chat was archived; absent on chats archived before this was recorded. */ archivedAt: z.ZodOptional>; pinned: z.ZodOptional; /** Server-derived: an active shared link exists for this conversation. Not persisted. */ isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; title: z.ZodDefault, z.ZodLiteral<"New Chat">]>>; user: z.ZodOptional; messages: z.ZodOptional>; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; model: z.ZodOptional>; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; parentMessageId: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; artifacts: z.ZodOptional; context: z.ZodOptional>; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; tags: z.ZodOptional>; chatProjectId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; resendFiles: z.ZodOptional; file_ids: z.ZodOptional>; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; web_search: z.ZodOptional; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; /** Durable parent/child navigation for a subagent thread. */ subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; append_current_datetime: z.ZodOptional; /** Used to overwrite active conversation settings when saving a Preset */ presetOverride: z.ZodOptional>; stop: z.ZodOptional>; greeting: z.ZodOptional; spec: z.ZodOptional>; iconURL: z.ZodOptional>; expiredAt: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; /** @deprecated */ resendImages: z.ZodOptional; /** @deprecated Prefer `modelLabel` over `chatGptLabel` */ chatGptLabel: z.ZodOptional>; }, "strip", z.ZodTypeAny, { endpoint: EModelEndpoint | null; conversationId: string | null; title: string | null; createdAt: string; updatedAt: string; user?: string | undefined; web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; tags?: string[] | undefined; endpointType?: EModelEndpoint | null | undefined; isArchived?: boolean | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; messages?: string[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; parentMessageId?: string | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; max_tokens?: number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; thinkingLevel?: ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; file_ids?: string[] | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: AnthropicEffort | null | undefined; thinkingDisplay?: ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: number | undefined; additionalModelRequestFields?: DocumentTypeValue | undefined; append_current_datetime?: boolean | undefined; presetOverride?: Record | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; expiredAt?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: number | undefined; resendImages?: boolean | undefined; chatGptLabel?: string | null | undefined; }, { endpoint: EModelEndpoint | null; conversationId: string | null; createdAt: string; updatedAt: string; user?: string | undefined; web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; tags?: string[] | undefined; endpointType?: EModelEndpoint | null | undefined; isArchived?: boolean | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; title?: string | null | undefined; messages?: string[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; parentMessageId?: string | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; file_ids?: string[] | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: AnthropicEffort | null | undefined; thinkingDisplay?: ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: string | number | undefined; additionalModelRequestFields?: DocumentTypeValue | undefined; append_current_datetime?: boolean | undefined; presetOverride?: Record | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; expiredAt?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: string | number | undefined; resendImages?: boolean | undefined; chatGptLabel?: string | null | undefined; }>; export declare const tPresetSchema: z.ZodObject<{ user: z.ZodOptional; web_search: z.ZodOptional; context: z.ZodOptional>; artifacts: z.ZodOptional; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; model: z.ZodOptional>; tags: z.ZodOptional>; endpointType: z.ZodOptional>>; isArchived: z.ZodOptional; archivedAt: z.ZodOptional>; pinned: z.ZodOptional; isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; messages: z.ZodOptional>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; parentMessageId: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; resendFiles: z.ZodOptional; file_ids: z.ZodOptional>; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; append_current_datetime: z.ZodOptional; presetOverride: z.ZodOptional>; stop: z.ZodOptional>; greeting: z.ZodOptional; spec: z.ZodOptional>; iconURL: z.ZodOptional>; expiredAt: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; resendImages: z.ZodOptional; chatGptLabel: z.ZodOptional>; } & { conversationId: z.ZodOptional>; presetId: z.ZodOptional>; title: z.ZodOptional>; defaultPreset: z.ZodOptional; order: z.ZodOptional; endpoint: z.ZodNullable, z.ZodString]>>; }, "strip", z.ZodTypeAny, { endpoint: string | null; user?: string | undefined; web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; tags?: string[] | undefined; conversationId?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; isArchived?: boolean | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; title?: string | null | undefined; messages?: string[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; parentMessageId?: string | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; max_tokens?: number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; thinkingLevel?: ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; file_ids?: string[] | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: AnthropicEffort | null | undefined; thinkingDisplay?: ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: number | undefined; additionalModelRequestFields?: DocumentTypeValue | undefined; append_current_datetime?: boolean | undefined; presetOverride?: Record | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; expiredAt?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: number | undefined; resendImages?: boolean | undefined; chatGptLabel?: string | null | undefined; presetId?: string | null | undefined; defaultPreset?: boolean | undefined; order?: number | undefined; }, { endpoint: string | null; user?: string | undefined; web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; tags?: string[] | undefined; conversationId?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; isArchived?: boolean | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; title?: string | null | undefined; messages?: string[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; parentMessageId?: string | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; file_ids?: string[] | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: AnthropicEffort | null | undefined; thinkingDisplay?: ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: string | number | undefined; additionalModelRequestFields?: DocumentTypeValue | undefined; append_current_datetime?: boolean | undefined; presetOverride?: Record | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; expiredAt?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: string | number | undefined; resendImages?: boolean | undefined; chatGptLabel?: string | null | undefined; presetId?: string | null | undefined; defaultPreset?: boolean | undefined; order?: number | undefined; }>; export declare const tConvoUpdateSchema: z.ZodObject<{ conversationId: z.ZodNullable; endpointType: z.ZodOptional>>; isArchived: z.ZodOptional; archivedAt: z.ZodOptional>; pinned: z.ZodOptional; isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; title: z.ZodDefault, z.ZodLiteral<"New Chat">]>>; user: z.ZodOptional; messages: z.ZodOptional>; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; model: z.ZodOptional>; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; parentMessageId: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; artifacts: z.ZodOptional; context: z.ZodOptional>; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; tags: z.ZodOptional>; chatProjectId: z.ZodOptional>; resendFiles: z.ZodOptional; file_ids: z.ZodOptional>; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; web_search: z.ZodOptional; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; append_current_datetime: z.ZodOptional; presetOverride: z.ZodOptional>; stop: z.ZodOptional>; greeting: z.ZodOptional; spec: z.ZodOptional>; iconURL: z.ZodOptional>; expiredAt: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; resendImages: z.ZodOptional; chatGptLabel: z.ZodOptional>; } & { endpoint: z.ZodNullable, z.ZodString]>>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { endpoint: string | null; conversationId: string | null; title: string | null; user?: string | undefined; web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; tags?: string[] | undefined; endpointType?: EModelEndpoint | null | undefined; isArchived?: boolean | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; messages?: string[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; parentMessageId?: string | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; max_tokens?: number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; thinkingLevel?: ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; chatProjectId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; resendFiles?: boolean | undefined; file_ids?: string[] | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: AnthropicEffort | null | undefined; thinkingDisplay?: ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: number | undefined; additionalModelRequestFields?: DocumentTypeValue | undefined; append_current_datetime?: boolean | undefined; presetOverride?: Record | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; expiredAt?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: number | undefined; resendImages?: boolean | undefined; chatGptLabel?: string | null | undefined; }, { endpoint: string | null; conversationId: string | null; user?: string | undefined; web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; tags?: string[] | undefined; endpointType?: EModelEndpoint | null | undefined; isArchived?: boolean | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; title?: string | null | undefined; messages?: string[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; parentMessageId?: string | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; chatProjectId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; resendFiles?: boolean | undefined; file_ids?: string[] | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: AnthropicEffort | null | undefined; thinkingDisplay?: ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: string | number | undefined; additionalModelRequestFields?: DocumentTypeValue | undefined; append_current_datetime?: boolean | undefined; presetOverride?: Record | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; expiredAt?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: string | number | undefined; resendImages?: boolean | undefined; chatGptLabel?: string | null | undefined; }>; export declare const tQueryParamsSchema: z.ZodObject; endpoint: z.ZodNullable>; endpointType: z.ZodOptional>>; isArchived: z.ZodOptional; /** When the chat was archived; absent on chats archived before this was recorded. */ archivedAt: z.ZodOptional>; pinned: z.ZodOptional; /** Server-derived: an active shared link exists for this conversation. Not persisted. */ isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; title: z.ZodDefault, z.ZodLiteral<"New Chat">]>>; user: z.ZodOptional; messages: z.ZodOptional>; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; model: z.ZodOptional>; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; parentMessageId: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; artifacts: z.ZodOptional; context: z.ZodOptional>; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; tags: z.ZodOptional>; chatProjectId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; resendFiles: z.ZodOptional; file_ids: z.ZodOptional>; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; web_search: z.ZodOptional; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; /** Durable parent/child navigation for a subagent thread. */ subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; append_current_datetime: z.ZodOptional; /** Used to overwrite active conversation settings when saving a Preset */ presetOverride: z.ZodOptional>; stop: z.ZodOptional>; greeting: z.ZodOptional; spec: z.ZodOptional>; iconURL: z.ZodOptional>; expiredAt: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; /** @deprecated */ resendImages: z.ZodOptional; /** @deprecated Prefer `modelLabel` over `chatGptLabel` */ chatGptLabel: z.ZodOptional>; }, "web_search" | "instructions" | "model" | "promptPrefix" | "temperature" | "topP" | "topK" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxOutputTokens" | "maxContextTokens" | "max_tokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "thinkingLevel" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "effort" | "thinkingDisplay" | "url_context" | "disableStreaming" | "assistant_id" | "agent_id" | "region" | "maxTokens" | "append_current_datetime" | "stop" | "spec" | "fileTokenLimit"> & { /** @endpoints openAI, custom, azureOpenAI, google, anthropic, assistants, azureAssistants, bedrock, agents */ endpoint: z.ZodNullable, z.ZodString]>>; }, "strip", z.ZodTypeAny, { endpoint: string | null; web_search?: boolean | undefined; instructions?: string | undefined; model?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; max_tokens?: number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; thinkingLevel?: ThinkingLevel | undefined; resendFiles?: boolean | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: AnthropicEffort | null | undefined; thinkingDisplay?: ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; region?: string | undefined; maxTokens?: number | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; spec?: string | null | undefined; fileTokenLimit?: number | undefined; }, { endpoint: string | null; web_search?: boolean | undefined; instructions?: string | undefined; model?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: ThinkingLevel | undefined; resendFiles?: boolean | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: AnthropicEffort | null | undefined; thinkingDisplay?: ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; region?: string | undefined; maxTokens?: string | number | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; spec?: string | null | undefined; fileTokenLimit?: string | number | undefined; }>; /** Narrowed preset schema for use in model specs — omits system/DB/deprecated fields. * * `greeting` and `iconURL` are admin-configurable display fields on a model spec's * preset (landing greeting, preset-level icon fallback) and must be preserved. * `spec` is set by the client from `modelSpec.name` via `getModelSpecPreset` and is * omitted to avoid duplicate configuration surface. */ export declare const tModelSpecPresetSchema: z.ZodEffects; context: z.ZodOptional>; artifacts: z.ZodOptional; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; model: z.ZodOptional>; endpointType: z.ZodOptional>>; archivedAt: z.ZodOptional>; pinned: z.ZodOptional; isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; resendFiles: z.ZodOptional; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; append_current_datetime: z.ZodOptional; stop: z.ZodOptional>; greeting: z.ZodOptional; iconURL: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; } & { endpoint: z.ZodOptional, z.ZodString]>>>; }, "strip", z.ZodTypeAny, { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; max_tokens?: number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; thinkingLevel?: ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: AnthropicEffort | null | undefined; thinkingDisplay?: ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: number | undefined; additionalModelRequestFields?: DocumentTypeValue | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: number | undefined; }, { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: AnthropicEffort | null | undefined; thinkingDisplay?: ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: string | number | undefined; additionalModelRequestFields?: DocumentTypeValue | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: string | number | undefined; }>, { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; max_tokens?: number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; thinkingLevel?: ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: AnthropicEffort | null | undefined; thinkingDisplay?: ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: number | undefined; additionalModelRequestFields?: DocumentTypeValue | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: number | undefined; }, { web_search?: boolean | undefined; context?: string | null | undefined; artifacts?: string | undefined; endpoint?: string | null | undefined; instructions?: string | undefined; additional_instructions?: string | undefined; tools?: string[] | { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }[] | undefined; model?: string | null | undefined; endpointType?: EModelEndpoint | null | undefined; archivedAt?: string | null | undefined; pinned?: boolean | undefined; isShared?: boolean | undefined; codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined; codeEnvironmentMode?: "attached" | "without_attached" | undefined; codeWorkspaces?: { environmentId: string; workspaceId: string; }[] | undefined; modelLabel?: string | null | undefined; userLabel?: string | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; system?: string | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: ThinkingLevel | undefined; stream?: boolean | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; resendFiles?: boolean | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; effort?: AnthropicEffort | null | undefined; thinkingDisplay?: ThinkingDisplay | null | undefined; url_context?: boolean | undefined; disableStreaming?: boolean | undefined; assistant_id?: string | undefined; agent_id?: string | undefined; subagentThread?: { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; } | undefined; region?: string | undefined; maxTokens?: string | number | undefined; additionalModelRequestFields?: DocumentTypeValue | undefined; append_current_datetime?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; isTemporary?: boolean | undefined; fileTokenLimit?: string | number | undefined; }>; export type TModelSpecPreset = z.infer; export type TPreset = z.infer; export type TSetOption = (param: number | string) => (newValue: number | string | boolean | string[] | Partial) => void; export type TConversation = z.infer & { presetOverride?: Partial; disableParams?: boolean; }; export declare const tSharedLinkSchema: z.ZodObject<{ conversationId: z.ZodString; shareId: z.ZodString; targetMessageId: z.ZodOptional; messages: z.ZodArray; title: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { conversationId: string; title: string; messages: string[]; createdAt: string; updatedAt: string; shareId: string; targetMessageId?: string | undefined; }, { conversationId: string; title: string; messages: string[]; createdAt: string; updatedAt: string; shareId: string; targetMessageId?: string | undefined; }>; export type TSharedLink = z.infer; export declare const tConversationTagSchema: z.ZodObject<{ _id: z.ZodString; user: z.ZodString; tag: z.ZodString; description: z.ZodOptional; createdAt: z.ZodString; updatedAt: z.ZodString; count: z.ZodNumber; position: z.ZodNumber; }, "strip", z.ZodTypeAny, { user: string; _id: string; createdAt: string; updatedAt: string; tag: string; count: number; position: number; description?: string | undefined; }, { user: string; _id: string; createdAt: string; updatedAt: string; tag: string; count: number; position: number; description?: string | undefined; }>; export type TConversationTag = z.infer; export declare const googleBaseSchema: z.ZodObject; endpoint: z.ZodNullable>; endpointType: z.ZodOptional>>; isArchived: z.ZodOptional; /** When the chat was archived; absent on chats archived before this was recorded. */ archivedAt: z.ZodOptional>; pinned: z.ZodOptional; /** Server-derived: an active shared link exists for this conversation. Not persisted. */ isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; title: z.ZodDefault, z.ZodLiteral<"New Chat">]>>; user: z.ZodOptional; messages: z.ZodOptional>; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; model: z.ZodOptional>; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; parentMessageId: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; artifacts: z.ZodOptional; context: z.ZodOptional>; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; tags: z.ZodOptional>; chatProjectId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; resendFiles: z.ZodOptional; file_ids: z.ZodOptional>; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; web_search: z.ZodOptional; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; /** Durable parent/child navigation for a subagent thread. */ subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; append_current_datetime: z.ZodOptional; /** Used to overwrite active conversation settings when saving a Preset */ presetOverride: z.ZodOptional>; stop: z.ZodOptional>; greeting: z.ZodOptional; spec: z.ZodOptional>; iconURL: z.ZodOptional>; expiredAt: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; /** @deprecated */ resendImages: z.ZodOptional; /** @deprecated Prefer `modelLabel` over `chatGptLabel` */ chatGptLabel: z.ZodOptional>; }, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "examples" | "chatProjectId" | "resendFiles" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; thinkingLevel?: ThinkingLevel | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; url_context?: boolean | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: number | undefined; }, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: ThinkingLevel | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; url_context?: boolean | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: string | number | undefined; }>; export declare const googleSchema: z.ZodCatch; endpoint: z.ZodNullable>; endpointType: z.ZodOptional>>; isArchived: z.ZodOptional; /** When the chat was archived; absent on chats archived before this was recorded. */ archivedAt: z.ZodOptional>; pinned: z.ZodOptional; /** Server-derived: an active shared link exists for this conversation. Not persisted. */ isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; title: z.ZodDefault, z.ZodLiteral<"New Chat">]>>; user: z.ZodOptional; messages: z.ZodOptional>; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; model: z.ZodOptional>; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; parentMessageId: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; artifacts: z.ZodOptional; context: z.ZodOptional>; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; tags: z.ZodOptional>; chatProjectId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; resendFiles: z.ZodOptional; file_ids: z.ZodOptional>; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; web_search: z.ZodOptional; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; /** Durable parent/child navigation for a subagent thread. */ subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; append_current_datetime: z.ZodOptional; /** Used to overwrite active conversation settings when saving a Preset */ presetOverride: z.ZodOptional>; stop: z.ZodOptional>; greeting: z.ZodOptional; spec: z.ZodOptional>; iconURL: z.ZodOptional>; expiredAt: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; /** @deprecated */ resendImages: z.ZodOptional; /** @deprecated Prefer `modelLabel` over `chatGptLabel` */ chatGptLabel: z.ZodOptional>; }, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "examples" | "chatProjectId" | "resendFiles" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; thinkingLevel?: ThinkingLevel | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; url_context?: boolean | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: number | undefined; }, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: ThinkingLevel | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; url_context?: boolean | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: string | number | undefined; }>, Partial>, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: ThinkingLevel | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; url_context?: boolean | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: string | number | undefined; }>>; /** * TODO: Map the following fields: - presence_penalty -> presencePenalty - frequency_penalty -> frequencyPenalty - stop -> stopSequences */ export declare const googleGenConfigSchema: z.ZodOptional, number | undefined, string | number>>; temperature: z.ZodOptional, number | undefined, string | number>>; topP: z.ZodOptional, number | undefined, string | number>>; topK: z.ZodOptional, number | undefined, string | number>>; presencePenalty: z.ZodOptional, number | undefined, string | number>>; frequencyPenalty: z.ZodOptional, number | undefined, string | number>>; stopSequences: z.ZodOptional>; thinkingConfig: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional; }, "strip", z.ZodTypeAny, { thinkingBudget?: number | undefined; thinkingLevel?: string | undefined; includeThoughts?: boolean | undefined; }, { thinkingBudget?: string | number | undefined; thinkingLevel?: string | undefined; includeThoughts?: boolean | undefined; }>>; web_search: z.ZodOptional; url_context: z.ZodOptional; }, "strip", z.ZodTypeAny, { web_search?: boolean | undefined; temperature?: number | undefined; topP?: number | undefined; topK?: number | undefined; maxOutputTokens?: number | undefined; url_context?: boolean | undefined; presencePenalty?: number | undefined; frequencyPenalty?: number | undefined; stopSequences?: string[] | undefined; thinkingConfig?: { thinkingBudget?: number | undefined; thinkingLevel?: string | undefined; includeThoughts?: boolean | undefined; } | undefined; }, { web_search?: boolean | undefined; temperature?: string | number | undefined; topP?: string | number | undefined; topK?: string | number | undefined; maxOutputTokens?: string | number | undefined; url_context?: boolean | undefined; presencePenalty?: string | number | undefined; frequencyPenalty?: string | number | undefined; stopSequences?: string[] | undefined; thinkingConfig?: { thinkingBudget?: string | number | undefined; thinkingLevel?: string | undefined; includeThoughts?: boolean | undefined; } | undefined; }>>; export declare function removeNullishValues>(obj: T, removeEmptyStrings?: boolean): Partial; export declare const assistantSchema: z.ZodCatch; endpoint: z.ZodNullable>; endpointType: z.ZodOptional>>; isArchived: z.ZodOptional; /** When the chat was archived; absent on chats archived before this was recorded. */ archivedAt: z.ZodOptional>; pinned: z.ZodOptional; /** Server-derived: an active shared link exists for this conversation. Not persisted. */ isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; title: z.ZodDefault, z.ZodLiteral<"New Chat">]>>; user: z.ZodOptional; messages: z.ZodOptional>; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; model: z.ZodOptional>; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; parentMessageId: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; artifacts: z.ZodOptional; context: z.ZodOptional>; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; tags: z.ZodOptional>; chatProjectId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; resendFiles: z.ZodOptional; file_ids: z.ZodOptional>; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; web_search: z.ZodOptional; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; /** Durable parent/child navigation for a subagent thread. */ subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; append_current_datetime: z.ZodOptional; /** Used to overwrite active conversation settings when saving a Preset */ presetOverride: z.ZodOptional>; stop: z.ZodOptional>; greeting: z.ZodOptional; spec: z.ZodOptional>; iconURL: z.ZodOptional>; expiredAt: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; /** @deprecated */ resendImages: z.ZodOptional; /** @deprecated Prefer `modelLabel` over `chatGptLabel` */ chatGptLabel: z.ZodOptional>; }, "artifacts" | "instructions" | "model" | "promptPrefix" | "chatProjectId" | "assistant_id" | "append_current_datetime" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, { artifacts?: string | undefined; instructions?: string | undefined; model?: string | null | undefined; promptPrefix?: string | null | undefined; chatProjectId?: string | null | undefined; assistant_id?: string | undefined; append_current_datetime?: boolean | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; }, { artifacts?: string | undefined; instructions?: string | undefined; model?: string | null | undefined; promptPrefix?: string | null | undefined; chatProjectId?: string | null | undefined; assistant_id?: string | undefined; append_current_datetime?: boolean | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; }>, { model: string; assistant_id: string | undefined; instructions: string | undefined; promptPrefix: string | null; iconURL: string | undefined; greeting: string | undefined; spec: string | undefined; append_current_datetime: boolean; artifacts?: string | undefined; chatProjectId?: string | null | undefined; }, { artifacts?: string | undefined; instructions?: string | undefined; model?: string | null | undefined; promptPrefix?: string | null | undefined; chatProjectId?: string | null | undefined; assistant_id?: string | undefined; append_current_datetime?: boolean | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; }>>; export declare const compactAssistantSchema: z.ZodCatch; endpoint: z.ZodNullable>; endpointType: z.ZodOptional>>; isArchived: z.ZodOptional; /** When the chat was archived; absent on chats archived before this was recorded. */ archivedAt: z.ZodOptional>; pinned: z.ZodOptional; /** Server-derived: an active shared link exists for this conversation. Not persisted. */ isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; title: z.ZodDefault, z.ZodLiteral<"New Chat">]>>; user: z.ZodOptional; messages: z.ZodOptional>; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; model: z.ZodOptional>; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; parentMessageId: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; artifacts: z.ZodOptional; context: z.ZodOptional>; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; tags: z.ZodOptional>; chatProjectId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; resendFiles: z.ZodOptional; file_ids: z.ZodOptional>; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; web_search: z.ZodOptional; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; /** Durable parent/child navigation for a subagent thread. */ subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; append_current_datetime: z.ZodOptional; /** Used to overwrite active conversation settings when saving a Preset */ presetOverride: z.ZodOptional>; stop: z.ZodOptional>; greeting: z.ZodOptional; spec: z.ZodOptional>; iconURL: z.ZodOptional>; expiredAt: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; /** @deprecated */ resendImages: z.ZodOptional; /** @deprecated Prefer `modelLabel` over `chatGptLabel` */ chatGptLabel: z.ZodOptional>; }, "artifacts" | "instructions" | "model" | "promptPrefix" | "chatProjectId" | "assistant_id" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, { artifacts?: string | undefined; instructions?: string | undefined; model?: string | null | undefined; promptPrefix?: string | null | undefined; chatProjectId?: string | null | undefined; assistant_id?: string | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; }, { artifacts?: string | undefined; instructions?: string | undefined; model?: string | null | undefined; promptPrefix?: string | null | undefined; chatProjectId?: string | null | undefined; assistant_id?: string | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; }>, Partial<{ artifacts?: string | undefined; instructions?: string | undefined; model?: string | null | undefined; promptPrefix?: string | null | undefined; chatProjectId?: string | null | undefined; assistant_id?: string | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; }>, { artifacts?: string | undefined; instructions?: string | undefined; model?: string | null | undefined; promptPrefix?: string | null | undefined; chatProjectId?: string | null | undefined; assistant_id?: string | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; }>>; export declare const agentsBaseSchema: z.ZodObject; endpoint: z.ZodNullable>; endpointType: z.ZodOptional>>; isArchived: z.ZodOptional; /** When the chat was archived; absent on chats archived before this was recorded. */ archivedAt: z.ZodOptional>; pinned: z.ZodOptional; /** Server-derived: an active shared link exists for this conversation. Not persisted. */ isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; title: z.ZodDefault, z.ZodLiteral<"New Chat">]>>; user: z.ZodOptional; messages: z.ZodOptional>; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; model: z.ZodOptional>; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; parentMessageId: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; artifacts: z.ZodOptional; context: z.ZodOptional>; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; tags: z.ZodOptional>; chatProjectId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; resendFiles: z.ZodOptional; file_ids: z.ZodOptional>; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; web_search: z.ZodOptional; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; /** Durable parent/child navigation for a subagent thread. */ subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; append_current_datetime: z.ZodOptional; /** Used to overwrite active conversation settings when saving a Preset */ presetOverride: z.ZodOptional>; stop: z.ZodOptional>; greeting: z.ZodOptional; spec: z.ZodOptional>; iconURL: z.ZodOptional>; expiredAt: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; /** @deprecated */ resendImages: z.ZodOptional; /** @deprecated Prefer `modelLabel` over `chatGptLabel` */ chatGptLabel: z.ZodOptional>; }, "instructions" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "agent_id" | "greeting" | "iconURL">, "strip", z.ZodTypeAny, { instructions?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxContextTokens?: number | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; imageDetail?: ImageDetail | undefined; agent_id?: string | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; }, { instructions?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxContextTokens?: string | number | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; imageDetail?: ImageDetail | undefined; agent_id?: string | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; }>; export declare const agentsSchema: z.ZodCatch; endpoint: z.ZodNullable>; endpointType: z.ZodOptional>>; isArchived: z.ZodOptional; /** When the chat was archived; absent on chats archived before this was recorded. */ archivedAt: z.ZodOptional>; pinned: z.ZodOptional; /** Server-derived: an active shared link exists for this conversation. Not persisted. */ isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; title: z.ZodDefault, z.ZodLiteral<"New Chat">]>>; user: z.ZodOptional; messages: z.ZodOptional>; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; model: z.ZodOptional>; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; parentMessageId: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; artifacts: z.ZodOptional; context: z.ZodOptional>; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; tags: z.ZodOptional>; chatProjectId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; resendFiles: z.ZodOptional; file_ids: z.ZodOptional>; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; web_search: z.ZodOptional; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; /** Durable parent/child navigation for a subagent thread. */ subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; append_current_datetime: z.ZodOptional; /** Used to overwrite active conversation settings when saving a Preset */ presetOverride: z.ZodOptional>; stop: z.ZodOptional>; greeting: z.ZodOptional; spec: z.ZodOptional>; iconURL: z.ZodOptional>; expiredAt: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; /** @deprecated */ resendImages: z.ZodOptional; /** @deprecated Prefer `modelLabel` over `chatGptLabel` */ chatGptLabel: z.ZodOptional>; }, "instructions" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "agent_id" | "greeting" | "iconURL">, "strip", z.ZodTypeAny, { instructions?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxContextTokens?: number | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; imageDetail?: ImageDetail | undefined; agent_id?: string | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; }, { instructions?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxContextTokens?: string | number | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; imageDetail?: ImageDetail | undefined; agent_id?: string | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; }>, { model: string; modelLabel: string | null; temperature: number; top_p: number; presence_penalty: number; frequency_penalty: number; resendFiles: boolean; imageDetail: ImageDetail; agent_id: string | undefined; instructions: string | undefined; promptPrefix: string | null; iconURL: string | undefined; greeting: string | undefined; maxContextTokens: number | undefined; chatProjectId?: string | null | undefined; }, { instructions?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxContextTokens?: string | number | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; imageDetail?: ImageDetail | undefined; agent_id?: string | undefined; greeting?: string | undefined; iconURL?: string | null | undefined; }>>; export declare const openAIBaseSchema: z.ZodObject; endpoint: z.ZodNullable>; endpointType: z.ZodOptional>>; isArchived: z.ZodOptional; /** When the chat was archived; absent on chats archived before this was recorded. */ archivedAt: z.ZodOptional>; pinned: z.ZodOptional; /** Server-derived: an active shared link exists for this conversation. Not persisted. */ isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; title: z.ZodDefault, z.ZodLiteral<"New Chat">]>>; user: z.ZodOptional; messages: z.ZodOptional>; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; model: z.ZodOptional>; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; parentMessageId: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; artifacts: z.ZodOptional; context: z.ZodOptional>; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; tags: z.ZodOptional>; chatProjectId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; resendFiles: z.ZodOptional; file_ids: z.ZodOptional>; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; web_search: z.ZodOptional; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; /** Durable parent/child navigation for a subagent thread. */ subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; append_current_datetime: z.ZodOptional; /** Used to overwrite active conversation settings when saving a Preset */ presetOverride: z.ZodOptional>; stop: z.ZodOptional>; greeting: z.ZodOptional; spec: z.ZodOptional>; iconURL: z.ZodOptional>; expiredAt: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; /** @deprecated */ resendImages: z.ZodOptional; /** @deprecated Prefer `modelLabel` over `chatGptLabel` */ chatGptLabel: z.ZodOptional>; }, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxContextTokens?: number | undefined; max_tokens?: number | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; disableStreaming?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: number | undefined; chatGptLabel?: string | null | undefined; }, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; disableStreaming?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: string | number | undefined; chatGptLabel?: string | null | undefined; }>; export declare const openAISchema: z.ZodCatch; endpoint: z.ZodNullable>; endpointType: z.ZodOptional>>; isArchived: z.ZodOptional; /** When the chat was archived; absent on chats archived before this was recorded. */ archivedAt: z.ZodOptional>; pinned: z.ZodOptional; /** Server-derived: an active shared link exists for this conversation. Not persisted. */ isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; title: z.ZodDefault, z.ZodLiteral<"New Chat">]>>; user: z.ZodOptional; messages: z.ZodOptional>; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; model: z.ZodOptional>; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; parentMessageId: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; artifacts: z.ZodOptional; context: z.ZodOptional>; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; tags: z.ZodOptional>; chatProjectId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; resendFiles: z.ZodOptional; file_ids: z.ZodOptional>; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; web_search: z.ZodOptional; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; /** Durable parent/child navigation for a subagent thread. */ subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; append_current_datetime: z.ZodOptional; /** Used to overwrite active conversation settings when saving a Preset */ presetOverride: z.ZodOptional>; stop: z.ZodOptional>; greeting: z.ZodOptional; spec: z.ZodOptional>; iconURL: z.ZodOptional>; expiredAt: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; /** @deprecated */ resendImages: z.ZodOptional; /** @deprecated Prefer `modelLabel` over `chatGptLabel` */ chatGptLabel: z.ZodOptional>; }, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxContextTokens?: number | undefined; max_tokens?: number | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; disableStreaming?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: number | undefined; chatGptLabel?: string | null | undefined; }, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; disableStreaming?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: string | number | undefined; chatGptLabel?: string | null | undefined; }>, Partial>, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; disableStreaming?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: string | number | undefined; chatGptLabel?: string | null | undefined; }>>; export declare const openRouterSchema: z.ZodCatch; endpoint: z.ZodNullable>; endpointType: z.ZodOptional>>; isArchived: z.ZodOptional; /** When the chat was archived; absent on chats archived before this was recorded. */ archivedAt: z.ZodOptional>; pinned: z.ZodOptional; /** Server-derived: an active shared link exists for this conversation. Not persisted. */ isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; title: z.ZodDefault, z.ZodLiteral<"New Chat">]>>; user: z.ZodOptional; messages: z.ZodOptional>; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; model: z.ZodOptional>; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; parentMessageId: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; artifacts: z.ZodOptional; context: z.ZodOptional>; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; tags: z.ZodOptional>; chatProjectId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; resendFiles: z.ZodOptional; file_ids: z.ZodOptional>; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; web_search: z.ZodOptional; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; /** Durable parent/child navigation for a subagent thread. */ subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; append_current_datetime: z.ZodOptional; /** Used to overwrite active conversation settings when saving a Preset */ presetOverride: z.ZodOptional>; stop: z.ZodOptional>; greeting: z.ZodOptional; spec: z.ZodOptional>; iconURL: z.ZodOptional>; expiredAt: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; /** @deprecated */ resendImages: z.ZodOptional; /** @deprecated Prefer `modelLabel` over `chatGptLabel` */ chatGptLabel: z.ZodOptional>; }, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel"> & Pick<{ conversationId: z.ZodNullable; endpoint: z.ZodNullable>; endpointType: z.ZodOptional>>; isArchived: z.ZodOptional; /** When the chat was archived; absent on chats archived before this was recorded. */ archivedAt: z.ZodOptional>; pinned: z.ZodOptional; /** Server-derived: an active shared link exists for this conversation. Not persisted. */ isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; title: z.ZodDefault, z.ZodLiteral<"New Chat">]>>; user: z.ZodOptional; messages: z.ZodOptional>; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; model: z.ZodOptional>; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; parentMessageId: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; artifacts: z.ZodOptional; context: z.ZodOptional>; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; tags: z.ZodOptional>; chatProjectId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; resendFiles: z.ZodOptional; file_ids: z.ZodOptional>; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; web_search: z.ZodOptional; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; /** Durable parent/child navigation for a subagent thread. */ subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; append_current_datetime: z.ZodOptional; /** Used to overwrite active conversation settings when saving a Preset */ presetOverride: z.ZodOptional>; stop: z.ZodOptional>; greeting: z.ZodOptional; spec: z.ZodOptional>; iconURL: z.ZodOptional>; expiredAt: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; /** @deprecated */ resendImages: z.ZodOptional; /** @deprecated Prefer `modelLabel` over `chatGptLabel` */ chatGptLabel: z.ZodOptional>; }, "promptCache" | "promptCacheTtl">, "strip", z.ZodTypeAny, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxContextTokens?: number | undefined; max_tokens?: number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; disableStreaming?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: number | undefined; chatGptLabel?: string | null | undefined; }, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; disableStreaming?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: string | number | undefined; chatGptLabel?: string | null | undefined; }>, Partial>, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; top_p?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; maxContextTokens?: string | number | undefined; max_tokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; imageDetail?: ImageDetail | undefined; reasoning_effort?: ReasoningEffort | null | undefined; reasoning_summary?: ReasoningSummary | null | undefined; reasoning_mode?: ReasoningMode | null | undefined; reasoning_context?: ReasoningContext | null | undefined; verbosity?: Verbosity | null | undefined; useResponsesApi?: boolean | undefined; disableStreaming?: boolean | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: string | number | undefined; chatGptLabel?: string | null | undefined; }>>; export declare const compactGoogleSchema: z.ZodCatch; endpoint: z.ZodNullable>; endpointType: z.ZodOptional>>; isArchived: z.ZodOptional; /** When the chat was archived; absent on chats archived before this was recorded. */ archivedAt: z.ZodOptional>; pinned: z.ZodOptional; /** Server-derived: an active shared link exists for this conversation. Not persisted. */ isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; title: z.ZodDefault, z.ZodLiteral<"New Chat">]>>; user: z.ZodOptional; messages: z.ZodOptional>; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; model: z.ZodOptional>; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; parentMessageId: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; artifacts: z.ZodOptional; context: z.ZodOptional>; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; tags: z.ZodOptional>; chatProjectId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; resendFiles: z.ZodOptional; file_ids: z.ZodOptional>; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; web_search: z.ZodOptional; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; /** Durable parent/child navigation for a subagent thread. */ subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; append_current_datetime: z.ZodOptional; /** Used to overwrite active conversation settings when saving a Preset */ presetOverride: z.ZodOptional>; stop: z.ZodOptional>; greeting: z.ZodOptional; spec: z.ZodOptional>; iconURL: z.ZodOptional>; expiredAt: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; /** @deprecated */ resendImages: z.ZodOptional; /** @deprecated Prefer `modelLabel` over `chatGptLabel` */ chatGptLabel: z.ZodOptional>; }, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "examples" | "chatProjectId" | "resendFiles" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; thinkingLevel?: ThinkingLevel | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; url_context?: boolean | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: number | undefined; }, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: ThinkingLevel | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; url_context?: boolean | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: string | number | undefined; }>, Partial>, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; thinkingLevel?: ThinkingLevel | undefined; examples?: { input: { content: string; }; output: { content: string; }; }[] | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; url_context?: boolean | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: string | number | undefined; }>>; export declare const anthropicBaseSchema: z.ZodObject; endpoint: z.ZodNullable>; endpointType: z.ZodOptional>>; isArchived: z.ZodOptional; /** When the chat was archived; absent on chats archived before this was recorded. */ archivedAt: z.ZodOptional>; pinned: z.ZodOptional; /** Server-derived: an active shared link exists for this conversation. Not persisted. */ isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; title: z.ZodDefault, z.ZodLiteral<"New Chat">]>>; user: z.ZodOptional; messages: z.ZodOptional>; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; model: z.ZodOptional>; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; parentMessageId: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; artifacts: z.ZodOptional; context: z.ZodOptional>; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; tags: z.ZodOptional>; chatProjectId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; resendFiles: z.ZodOptional; file_ids: z.ZodOptional>; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; web_search: z.ZodOptional; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; /** Durable parent/child navigation for a subagent thread. */ subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; append_current_datetime: z.ZodOptional; /** Used to overwrite active conversation settings when saving a Preset */ presetOverride: z.ZodOptional>; stop: z.ZodOptional>; greeting: z.ZodOptional; spec: z.ZodOptional>; iconURL: z.ZodOptional>; expiredAt: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; /** @deprecated */ resendImages: z.ZodOptional; /** @deprecated Prefer `modelLabel` over `chatGptLabel` */ chatGptLabel: z.ZodOptional>; }, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "stream" | "chatProjectId" | "resendFiles" | "effort" | "thinkingDisplay" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; stream?: boolean | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; effort?: AnthropicEffort | null | undefined; thinkingDisplay?: ThinkingDisplay | null | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: number | undefined; }, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; stream?: boolean | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; effort?: AnthropicEffort | null | undefined; thinkingDisplay?: ThinkingDisplay | null | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: string | number | undefined; }>; export declare const anthropicSchema: z.ZodCatch; endpoint: z.ZodNullable>; endpointType: z.ZodOptional>>; isArchived: z.ZodOptional; /** When the chat was archived; absent on chats archived before this was recorded. */ archivedAt: z.ZodOptional>; pinned: z.ZodOptional; /** Server-derived: an active shared link exists for this conversation. Not persisted. */ isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; title: z.ZodDefault, z.ZodLiteral<"New Chat">]>>; user: z.ZodOptional; messages: z.ZodOptional>; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; model: z.ZodOptional>; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; parentMessageId: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; artifacts: z.ZodOptional; context: z.ZodOptional>; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; tags: z.ZodOptional>; chatProjectId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; resendFiles: z.ZodOptional; file_ids: z.ZodOptional>; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; web_search: z.ZodOptional; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; /** Durable parent/child navigation for a subagent thread. */ subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; append_current_datetime: z.ZodOptional; /** Used to overwrite active conversation settings when saving a Preset */ presetOverride: z.ZodOptional>; stop: z.ZodOptional>; greeting: z.ZodOptional; spec: z.ZodOptional>; iconURL: z.ZodOptional>; expiredAt: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; /** @deprecated */ resendImages: z.ZodOptional; /** @deprecated Prefer `modelLabel` over `chatGptLabel` */ chatGptLabel: z.ZodOptional>; }, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "stream" | "chatProjectId" | "resendFiles" | "effort" | "thinkingDisplay" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; stream?: boolean | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; effort?: AnthropicEffort | null | undefined; thinkingDisplay?: ThinkingDisplay | null | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: number | undefined; }, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; stream?: boolean | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; effort?: AnthropicEffort | null | undefined; thinkingDisplay?: ThinkingDisplay | null | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: string | number | undefined; }>, Partial<{ web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; maxOutputTokens?: number | null | undefined; maxContextTokens?: number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; thinking?: boolean | undefined; thinkingBudget?: number | undefined; stream?: boolean | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; effort?: AnthropicEffort | null | undefined; thinkingDisplay?: ThinkingDisplay | null | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: number | undefined; }>, { web_search?: boolean | undefined; artifacts?: string | undefined; model?: string | null | undefined; modelLabel?: string | null | undefined; promptPrefix?: string | null | undefined; temperature?: number | null | undefined; topP?: number | undefined; topK?: number | undefined; maxOutputTokens?: string | number | null | undefined; maxContextTokens?: string | number | undefined; promptCache?: boolean | undefined; promptCacheTtl?: "5m" | "1h" | undefined; thinking?: boolean | undefined; thinkingBudget?: string | number | undefined; stream?: boolean | undefined; chatProjectId?: string | null | undefined; resendFiles?: boolean | undefined; effort?: AnthropicEffort | null | undefined; thinkingDisplay?: ThinkingDisplay | null | undefined; stop?: string[] | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; fileTokenLimit?: string | number | undefined; }>>; export declare const tBannerSchema: z.ZodObject<{ bannerId: z.ZodString; message: z.ZodString; displayFrom: z.ZodString; displayTo: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; isPublic: z.ZodBoolean; persistable: z.ZodDefault; }, "strip", z.ZodTypeAny, { message: string; isPublic: boolean; createdAt: string; updatedAt: string; bannerId: string; displayFrom: string; displayTo: string; persistable: boolean; }, { message: string; isPublic: boolean; createdAt: string; updatedAt: string; bannerId: string; displayFrom: string; displayTo: string; persistable?: boolean | undefined; }>; export type TBanner = z.infer; export declare const compactAgentsBaseSchema: z.ZodObject; endpoint: z.ZodNullable>; endpointType: z.ZodOptional>>; isArchived: z.ZodOptional; /** When the chat was archived; absent on chats archived before this was recorded. */ archivedAt: z.ZodOptional>; pinned: z.ZodOptional; /** Server-derived: an active shared link exists for this conversation. Not persisted. */ isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; title: z.ZodDefault, z.ZodLiteral<"New Chat">]>>; user: z.ZodOptional; messages: z.ZodOptional>; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; model: z.ZodOptional>; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; parentMessageId: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; artifacts: z.ZodOptional; context: z.ZodOptional>; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; tags: z.ZodOptional>; chatProjectId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; resendFiles: z.ZodOptional; file_ids: z.ZodOptional>; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; web_search: z.ZodOptional; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; /** Durable parent/child navigation for a subagent thread. */ subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; append_current_datetime: z.ZodOptional; /** Used to overwrite active conversation settings when saving a Preset */ presetOverride: z.ZodOptional>; stop: z.ZodOptional>; greeting: z.ZodOptional; spec: z.ZodOptional>; iconURL: z.ZodOptional>; expiredAt: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; /** @deprecated */ resendImages: z.ZodOptional; /** @deprecated Prefer `modelLabel` over `chatGptLabel` */ chatGptLabel: z.ZodOptional>; }, "instructions" | "additional_instructions" | "chatProjectId" | "agent_id" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, { instructions?: string | undefined; additional_instructions?: string | undefined; chatProjectId?: string | null | undefined; agent_id?: string | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; }, { instructions?: string | undefined; additional_instructions?: string | undefined; chatProjectId?: string | null | undefined; agent_id?: string | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; }>; export declare const compactAgentsSchema: z.ZodCatch; endpoint: z.ZodNullable>; endpointType: z.ZodOptional>>; isArchived: z.ZodOptional; /** When the chat was archived; absent on chats archived before this was recorded. */ archivedAt: z.ZodOptional>; pinned: z.ZodOptional; /** Server-derived: an active shared link exists for this conversation. Not persisted. */ isShared: z.ZodOptional; codeApprovalMode: z.ZodOptional>; codeEnvironmentMode: z.ZodOptional>; codeWorkspaces: z.ZodOptional, "many">>; title: z.ZodDefault, z.ZodLiteral<"New Chat">]>>; user: z.ZodOptional; messages: z.ZodOptional>; tools: z.ZodOptional; icon: z.ZodOptional; authConfig: z.ZodOptional; /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */ sensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }, { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }>, "many">>; authenticated: z.ZodOptional; chatMenu: z.ZodOptional; isButton: z.ZodOptional; toolkit: z.ZodOptional; /** Raw upstream tool name when the model-facing key stripped a redundant * server-name prefix — proves upstream identity for legacy id migration. */ serverToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }, { name: string; pluginKey: string; description?: string | undefined; icon?: string | undefined; authConfig?: { description: string; authField: string; label: string; optional?: boolean | undefined; sensitive?: boolean | undefined; }[] | undefined; authenticated?: boolean | undefined; chatMenu?: boolean | undefined; isButton?: boolean | undefined; toolkit?: boolean | undefined; serverToolName?: string | undefined; }>, "many">, z.ZodArray]>>; modelLabel: z.ZodOptional>; userLabel: z.ZodOptional; model: z.ZodOptional>; promptPrefix: z.ZodOptional>; temperature: z.ZodOptional>; topP: z.ZodOptional; topK: z.ZodOptional; top_p: z.ZodOptional; frequency_penalty: z.ZodOptional; presence_penalty: z.ZodOptional; parentMessageId: z.ZodOptional; maxOutputTokens: z.ZodOptional, number | undefined, string | number>>>; maxContextTokens: z.ZodOptional, number | undefined, string | number>>; max_tokens: z.ZodOptional, number | undefined, string | number>>; promptCache: z.ZodOptional; promptCacheTtl: z.ZodOptional>; system: z.ZodOptional; thinking: z.ZodOptional; thinkingBudget: z.ZodOptional, number | undefined, string | number>>; thinkingLevel: z.ZodOptional>; stream: z.ZodOptional; artifacts: z.ZodOptional; context: z.ZodOptional>; examples: z.ZodOptional; output: z.ZodObject<{ content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; }, { content: string; }>; }, "strip", z.ZodTypeAny, { input: { content: string; }; output: { content: string; }; }, { input: { content: string; }; output: { content: string; }; }>, "many">>; tags: z.ZodOptional>; chatProjectId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; resendFiles: z.ZodOptional; file_ids: z.ZodOptional>; imageDetail: z.ZodOptional>; reasoning_effort: z.ZodNullable>>; reasoning_summary: z.ZodNullable>>; reasoning_mode: z.ZodNullable>>; reasoning_context: z.ZodNullable>>; verbosity: z.ZodNullable>>; useResponsesApi: z.ZodOptional; effort: z.ZodNullable>>; thinkingDisplay: z.ZodNullable>>; web_search: z.ZodOptional; url_context: z.ZodOptional; disableStreaming: z.ZodOptional; assistant_id: z.ZodOptional; agent_id: z.ZodOptional; /** Durable parent/child navigation for a subagent thread. */ subagentThread: z.ZodOptional; subagentType: z.ZodString; subagentKind: z.ZodEnum<["agent", "graph"]>; depth: z.ZodNumber; }, "strip", z.ZodTypeAny, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }, { subagentKind: "agent" | "graph"; parentMessageId: string; rootConversationId: string; parentConversationId: string; parentToolCallId: string; subagentType: string; depth: number; parentAgentId?: string | undefined; }>>; region: z.ZodOptional; maxTokens: z.ZodOptional, number | undefined, string | number>>; additionalModelRequestFields: z.ZodOptional>; instructions: z.ZodOptional; additional_instructions: z.ZodOptional; append_current_datetime: z.ZodOptional; /** Used to overwrite active conversation settings when saving a Preset */ presetOverride: z.ZodOptional>; stop: z.ZodOptional>; greeting: z.ZodOptional; spec: z.ZodOptional>; iconURL: z.ZodOptional>; expiredAt: z.ZodOptional>; isTemporary: z.ZodOptional; fileTokenLimit: z.ZodOptional, number | undefined, string | number>>; /** @deprecated */ resendImages: z.ZodOptional; /** @deprecated Prefer `modelLabel` over `chatGptLabel` */ chatGptLabel: z.ZodOptional>; }, "instructions" | "additional_instructions" | "chatProjectId" | "agent_id" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, { instructions?: string | undefined; additional_instructions?: string | undefined; chatProjectId?: string | null | undefined; agent_id?: string | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; }, { instructions?: string | undefined; additional_instructions?: string | undefined; chatProjectId?: string | null | undefined; agent_id?: string | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; }>, Partial<{ instructions?: string | undefined; additional_instructions?: string | undefined; chatProjectId?: string | null | undefined; agent_id?: string | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; }>, { instructions?: string | undefined; additional_instructions?: string | undefined; chatProjectId?: string | null | undefined; agent_id?: string | undefined; greeting?: string | undefined; spec?: string | null | undefined; iconURL?: string | null | undefined; }>>; export {};