import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type DeploymentStreamGlobals = {
    environment?: string | undefined;
    contactId?: string | undefined;
};
export type DeploymentStreamContentDeploymentsRequest2 = components.TextContentPartSchema;
/**
 * The contents of the tool message.
 */
export type DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content = string | Array<components.TextContentPartSchema>;
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
export declare const DeploymentStreamPrefixMessagesDeploymentsType: {
    readonly Ephemeral: "ephemeral";
};
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
export type DeploymentStreamPrefixMessagesDeploymentsType = ClosedEnum<typeof DeploymentStreamPrefixMessagesDeploymentsType>;
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
export declare const DeploymentStreamPrefixMessagesTtl: {
    readonly Fivem: "5m";
    readonly Oneh: "1h";
};
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
export type DeploymentStreamPrefixMessagesTtl = ClosedEnum<typeof DeploymentStreamPrefixMessagesTtl>;
export type DeploymentStreamPrefixMessagesCacheControl = {
    /**
     * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
     */
    type: DeploymentStreamPrefixMessagesDeploymentsType;
    /**
     * The time-to-live for the cache control breakpoint. This may be one of the following values:
     *
     * @remarks
     *
     * - `5m`: 5 minutes
     * - `1h`: 1 hour
     *
     * Defaults to `5m`. Only supported by `Anthropic` Claude models.
     */
    ttl?: DeploymentStreamPrefixMessagesTtl | undefined;
};
export type PrefixMessagesToolMessage = {
    /**
     * The role of the messages author, in this case tool.
     */
    role: "tool";
    /**
     * The contents of the tool message.
     */
    content: string | Array<components.TextContentPartSchema>;
    /**
     * Tool call that this message is responding to.
     */
    toolCallId: string | null;
    cacheControl?: DeploymentStreamPrefixMessagesCacheControl | undefined;
};
export type DeploymentStreamContentDeployments2 = (components.TextContentPartSchema & {
    type: "text";
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
/**
 * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
 */
export type DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent = string | Array<(components.TextContentPartSchema & {
    type: "text";
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
/**
 * Data about a previous audio response from the model.
 */
export type PrefixMessagesAudio = {
    /**
     * Unique identifier for a previous audio response from the model.
     */
    id: string;
};
/**
 * The type of the tool. Currently, only `function` is supported.
 */
export declare const DeploymentStreamPrefixMessagesType: {
    readonly Function: "function";
};
/**
 * The type of the tool. Currently, only `function` is supported.
 */
export type DeploymentStreamPrefixMessagesType = ClosedEnum<typeof DeploymentStreamPrefixMessagesType>;
export type DeploymentStreamPrefixMessagesFunction = {
    /**
     * The name of the function to call.
     */
    name?: string | undefined;
    /**
     * The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
     */
    arguments?: string | undefined;
};
export type DeploymentStreamPrefixMessagesToolCalls = {
    /**
     * The ID of the tool call.
     */
    id: string;
    /**
     * The type of the tool. Currently, only `function` is supported.
     */
    type: DeploymentStreamPrefixMessagesType;
    function: DeploymentStreamPrefixMessagesFunction;
    /**
     * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
     */
    thoughtSignature?: string | undefined;
};
export type PrefixMessagesAssistantMessage = {
    /**
     * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
     */
    content?: string | Array<(components.TextContentPartSchema & {
        type: "text";
    }) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
    /**
     * The refusal message by the assistant.
     */
    refusal?: string | null | undefined;
    /**
     * The role of the messages author, in this case `assistant`.
     */
    role: "assistant";
    /**
     * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
     */
    name?: string | undefined;
    /**
     * Data about a previous audio response from the model.
     */
    audio?: PrefixMessagesAudio | null | undefined;
    /**
     * The tool calls generated by the model, such as function calls.
     */
    toolCalls?: Array<DeploymentStreamPrefixMessagesToolCalls> | undefined;
};
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
export declare const DeploymentStream2DeploymentsType: {
    readonly Ephemeral: "ephemeral";
};
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
export type DeploymentStream2DeploymentsType = ClosedEnum<typeof DeploymentStream2DeploymentsType>;
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
export declare const DeploymentStream2Ttl: {
    readonly Fivem: "5m";
    readonly Oneh: "1h";
};
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
export type DeploymentStream2Ttl = ClosedEnum<typeof DeploymentStream2Ttl>;
export type DeploymentStream2CacheControl = {
    /**
     * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
     */
    type: DeploymentStream2DeploymentsType;
    /**
     * The time-to-live for the cache control breakpoint. This may be one of the following values:
     *
     * @remarks
     *
     * - `5m`: 5 minutes
     * - `1h`: 1 hour
     *
     * Defaults to `5m`. Only supported by `Anthropic` Claude models.
     */
    ttl?: DeploymentStream2Ttl | undefined;
};
export type DeploymentStream24 = {
    /**
     * The type of the content part. Always `file`.
     */
    type: "file";
    cacheControl?: DeploymentStream2CacheControl | undefined;
    /**
     * File data for the content part. Must contain either file_data or uri, but not both.
     */
    file: components.FileContentPartSchema;
};
export type DeploymentStreamContent2 = (components.TextContentPartSchema & {
    type: "text";
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentStream24;
/**
 * The contents of the user message.
 */
export type DeploymentStreamPrefixMessagesDeploymentsRequestContent = string | Array<(components.TextContentPartSchema & {
    type: "text";
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentStream24>;
export type PrefixMessagesUserMessage = {
    /**
     * The role of the messages author, in this case `user`.
     */
    role: "user";
    /**
     * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
     */
    name?: string | undefined;
    /**
     * The contents of the user message.
     */
    content: string | Array<(components.TextContentPartSchema & {
        type: "text";
    }) | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentStream24>;
};
/**
 * The contents of the developer message.
 */
export type DeploymentStreamPrefixMessagesDeploymentsContent = string | Array<components.TextContentPartSchema>;
export type PrefixMessagesDeveloperMessage = {
    /**
     * The role of the messages author, in this case  `developer`.
     */
    role: "developer";
    /**
     * The contents of the developer message.
     */
    content: string | Array<components.TextContentPartSchema>;
    /**
     * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
     */
    name?: string | undefined;
};
/**
 * The contents of the system message.
 */
export type DeploymentStreamPrefixMessagesContent = string | Array<components.TextContentPartSchema>;
/**
 * Developer-provided instructions that the model should follow, regardless of messages sent by the user.
 */
export type PrefixMessagesSystemMessage = {
    /**
     * The role of the messages author, in this case `system`.
     */
    role: "system";
    /**
     * The contents of the system message.
     */
    content: string | Array<components.TextContentPartSchema>;
    /**
     * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
     */
    name?: string | undefined;
};
export type DeploymentStreamPrefixMessages = PrefixMessagesSystemMessage | PrefixMessagesDeveloperMessage | PrefixMessagesUserMessage | PrefixMessagesAssistantMessage | PrefixMessagesToolMessage;
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages52 = components.TextContentPartSchema;
/**
 * The contents of the tool message.
 */
export type DeploymentStreamMessagesDeploymentsRequestRequestBody5Content = string | Array<components.TextContentPartSchema>;
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
export declare const DeploymentStreamMessagesDeploymentsType: {
    readonly Ephemeral: "ephemeral";
};
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
export type DeploymentStreamMessagesDeploymentsType = ClosedEnum<typeof DeploymentStreamMessagesDeploymentsType>;
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
export declare const DeploymentStreamMessagesTtl: {
    readonly Fivem: "5m";
    readonly Oneh: "1h";
};
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
export type DeploymentStreamMessagesTtl = ClosedEnum<typeof DeploymentStreamMessagesTtl>;
export type DeploymentStreamMessagesCacheControl = {
    /**
     * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
     */
    type: DeploymentStreamMessagesDeploymentsType;
    /**
     * The time-to-live for the cache control breakpoint. This may be one of the following values:
     *
     * @remarks
     *
     * - `5m`: 5 minutes
     * - `1h`: 1 hour
     *
     * Defaults to `5m`. Only supported by `Anthropic` Claude models.
     */
    ttl?: DeploymentStreamMessagesTtl | undefined;
};
export type DeploymentStreamMessagesToolMessage = {
    /**
     * The role of the messages author, in this case tool.
     */
    role: "tool";
    /**
     * The contents of the tool message.
     */
    content: string | Array<components.TextContentPartSchema>;
    /**
     * Tool call that this message is responding to.
     */
    toolCallId: string | null;
    cacheControl?: DeploymentStreamMessagesCacheControl | undefined;
};
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages2 = (components.TextContentPartSchema & {
    type: "text";
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
/**
 * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
 */
export type DeploymentStreamMessagesDeploymentsRequestRequestBodyContent = string | Array<(components.TextContentPartSchema & {
    type: "text";
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
/**
 * Data about a previous audio response from the model.
 */
export type DeploymentStreamMessagesAudio = {
    /**
     * Unique identifier for a previous audio response from the model.
     */
    id: string;
};
/**
 * The type of the tool. Currently, only `function` is supported.
 */
export declare const DeploymentStreamMessagesType: {
    readonly Function: "function";
};
/**
 * The type of the tool. Currently, only `function` is supported.
 */
export type DeploymentStreamMessagesType = ClosedEnum<typeof DeploymentStreamMessagesType>;
export type DeploymentStreamMessagesFunction = {
    /**
     * The name of the function to call.
     */
    name?: string | undefined;
    /**
     * The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
     */
    arguments?: string | undefined;
};
export type DeploymentStreamMessagesToolCalls = {
    /**
     * The ID of the tool call.
     */
    id: string;
    /**
     * The type of the tool. Currently, only `function` is supported.
     */
    type: DeploymentStreamMessagesType;
    function: DeploymentStreamMessagesFunction;
    /**
     * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
     */
    thoughtSignature?: string | undefined;
};
export type DeploymentStreamMessagesAssistantMessage = {
    /**
     * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
     */
    content?: string | Array<(components.TextContentPartSchema & {
        type: "text";
    }) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
    /**
     * The refusal message by the assistant.
     */
    refusal?: string | null | undefined;
    /**
     * The role of the messages author, in this case `assistant`.
     */
    role: "assistant";
    /**
     * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
     */
    name?: string | undefined;
    /**
     * Data about a previous audio response from the model.
     */
    audio?: DeploymentStreamMessagesAudio | null | undefined;
    /**
     * The tool calls generated by the model, such as function calls.
     */
    toolCalls?: Array<DeploymentStreamMessagesToolCalls> | undefined;
};
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
export declare const DeploymentStream2DeploymentsRequestRequestBodyType: {
    readonly Ephemeral: "ephemeral";
};
/**
 * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
 */
export type DeploymentStream2DeploymentsRequestRequestBodyType = ClosedEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyType>;
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
export declare const DeploymentStream2DeploymentsTtl: {
    readonly Fivem: "5m";
    readonly Oneh: "1h";
};
/**
 * The time-to-live for the cache control breakpoint. This may be one of the following values:
 *
 * @remarks
 *
 * - `5m`: 5 minutes
 * - `1h`: 1 hour
 *
 * Defaults to `5m`. Only supported by `Anthropic` Claude models.
 */
export type DeploymentStream2DeploymentsTtl = ClosedEnum<typeof DeploymentStream2DeploymentsTtl>;
export type DeploymentStream2DeploymentsCacheControl = {
    /**
     * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
     */
    type: DeploymentStream2DeploymentsRequestRequestBodyType;
    /**
     * The time-to-live for the cache control breakpoint. This may be one of the following values:
     *
     * @remarks
     *
     * - `5m`: 5 minutes
     * - `1h`: 1 hour
     *
     * Defaults to `5m`. Only supported by `Anthropic` Claude models.
     */
    ttl?: DeploymentStream2DeploymentsTtl | undefined;
};
export type DeploymentStream2Deployments4 = {
    /**
     * The type of the content part. Always `file`.
     */
    type: "file";
    cacheControl?: DeploymentStream2DeploymentsCacheControl | undefined;
    /**
     * File data for the content part. Must contain either file_data or uri, but not both.
     */
    file: components.FileContentPartSchema;
};
export type DeploymentStreamContentDeploymentsRequestRequestBody2 = (components.TextContentPartSchema & {
    type: "text";
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentStream2Deployments4;
/**
 * The contents of the user message.
 */
export type DeploymentStreamMessagesDeploymentsRequestContent = string | Array<(components.TextContentPartSchema & {
    type: "text";
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentStream2Deployments4>;
export type DeploymentStreamMessagesUserMessage = {
    /**
     * The role of the messages author, in this case `user`.
     */
    role: "user";
    /**
     * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
     */
    name?: string | undefined;
    /**
     * The contents of the user message.
     */
    content: string | Array<(components.TextContentPartSchema & {
        type: "text";
    }) | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentStream2Deployments4>;
};
/**
 * The contents of the developer message.
 */
export type DeploymentStreamMessagesDeploymentsContent = string | Array<components.TextContentPartSchema>;
export type DeploymentStreamMessagesDeveloperMessage = {
    /**
     * The role of the messages author, in this case  `developer`.
     */
    role: "developer";
    /**
     * The contents of the developer message.
     */
    content: string | Array<components.TextContentPartSchema>;
    /**
     * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
     */
    name?: string | undefined;
};
/**
 * The contents of the system message.
 */
export type DeploymentStreamMessagesContent = string | Array<components.TextContentPartSchema>;
/**
 * Developer-provided instructions that the model should follow, regardless of messages sent by the user.
 */
export type DeploymentStreamMessagesSystemMessage = {
    /**
     * The role of the messages author, in this case `system`.
     */
    role: "system";
    /**
     * The contents of the system message.
     */
    content: string | Array<components.TextContentPartSchema>;
    /**
     * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
     */
    name?: string | undefined;
};
export type DeploymentStreamMessages = DeploymentStreamMessagesSystemMessage | DeploymentStreamMessagesDeveloperMessage | DeploymentStreamMessagesUserMessage | DeploymentStreamMessagesAssistantMessage | DeploymentStreamMessagesToolMessage;
/**
 * Metadata about the document
 */
export type DeploymentStreamMetadata = {
    /**
     * Name of the file the text is from.
     */
    fileName?: string | undefined;
    /**
     * Content type of the file the text is from.
     */
    fileType?: string | undefined;
    /**
     * The page number the text is from.
     */
    pageNumber?: number | undefined;
};
export type DeploymentStreamDocuments = {
    /**
     * The text content of the document
     */
    text: string;
    /**
     * Metadata about the document
     */
    metadata?: DeploymentStreamMetadata | undefined;
};
export type DeploymentStreamInvokeOptions = {
    /**
     * Whether to include the retrieved knowledge chunks in the response.
     */
    includeRetrievals?: boolean | undefined;
    /**
     * Whether to include the usage metrics in the response.
     */
    includeUsage?: boolean | undefined;
    /**
     * A mock response to use instead of calling the LLM API. This is useful for testing purposes. When provided, the system will return a response object with this content as the completion, without making an actual API call to the LLM provider. This works for both streaming and non-streaming requests. Mock responses will not generate logs, traces or be counted for your plan usage.
     */
    mockResponse?: string | undefined;
};
export type DeploymentStreamThread = {
    /**
     * Unique thread identifier to group related invocations.
     */
    id: string;
    /**
     * Optional tags to differentiate or categorize threads
     */
    tags?: Array<string> | undefined;
};
/**
 * Exists
 */
export type DeploymentStreamOrExists = {
    exists: boolean;
};
export type DeploymentStreamOrDeploymentsNin = string | number | boolean;
/**
 * Not in
 */
export type DeploymentStreamOrNin = {
    nin: Array<string | number | boolean>;
};
export type DeploymentStreamOrDeploymentsIn = string | number | boolean;
/**
 * In
 */
export type DeploymentStreamOrIn = {
    in: Array<string | number | boolean>;
};
/**
 * Less than or equal to
 */
export type DeploymentStreamOrLte = {
    lte: number;
};
/**
 * Less than
 */
export type DeploymentStreamOrLt = {
    lt: number;
};
/**
 * Greater than or equal to
 */
export type DeploymentStreamOrGte = {
    gte: number;
};
/**
 * Greater than
 */
export type DeploymentStreamOrGt = {
    gt: number;
};
export type DeploymentStreamOrDeploymentsNe = string | number | boolean;
/**
 * Not equal to
 */
export type DeploymentStreamOrNe = {
    ne: string | number | boolean;
};
export type DeploymentStreamOrDeploymentsEq = string | number | boolean;
/**
 * Equal to
 */
export type DeploymentStreamOrEq = {
    eq: string | number | boolean;
};
export type DeploymentStreamKnowledgeFilterDeploymentsOr = DeploymentStreamOrEq | DeploymentStreamOrNe | DeploymentStreamOrGt | DeploymentStreamOrGte | DeploymentStreamOrLt | DeploymentStreamOrLte | DeploymentStreamOrIn | DeploymentStreamOrNin | DeploymentStreamOrExists;
/**
 * Or
 */
export type DeploymentStreamKnowledgeFilterOr = {
    or: Array<{
        [k: string]: DeploymentStreamOrEq | DeploymentStreamOrNe | DeploymentStreamOrGt | DeploymentStreamOrGte | DeploymentStreamOrLt | DeploymentStreamOrLte | DeploymentStreamOrIn | DeploymentStreamOrNin | DeploymentStreamOrExists;
    }>;
};
/**
 * Exists
 */
export type DeploymentStreamAndExists = {
    exists: boolean;
};
export type DeploymentStreamAndDeploymentsNin = string | number | boolean;
/**
 * Not in
 */
export type DeploymentStreamAndNin = {
    nin: Array<string | number | boolean>;
};
export type DeploymentStreamAndDeploymentsIn = string | number | boolean;
/**
 * In
 */
export type DeploymentStreamAndIn = {
    in: Array<string | number | boolean>;
};
/**
 * Less than or equal to
 */
export type DeploymentStreamAndLte = {
    lte: number;
};
/**
 * Less than
 */
export type DeploymentStreamAndLt = {
    lt: number;
};
/**
 * Greater than or equal to
 */
export type DeploymentStreamAndGte = {
    gte: number;
};
/**
 * Greater than
 */
export type DeploymentStreamAndGt = {
    gt: number;
};
export type DeploymentStreamAndDeploymentsNe = string | number | boolean;
/**
 * Not equal to
 */
export type DeploymentStreamAndNe = {
    ne: string | number | boolean;
};
export type DeploymentStreamAndDeploymentsEq = string | number | boolean;
/**
 * Equal to
 */
export type DeploymentStreamAndEq = {
    eq: string | number | boolean;
};
export type DeploymentStreamKnowledgeFilterDeploymentsAnd = DeploymentStreamAndEq | DeploymentStreamAndNe | DeploymentStreamAndGt | DeploymentStreamAndGte | DeploymentStreamAndLt | DeploymentStreamAndLte | DeploymentStreamAndIn | DeploymentStreamAndNin | DeploymentStreamAndExists;
/**
 * And
 */
export type DeploymentStreamKnowledgeFilterAnd = {
    and: Array<{
        [k: string]: DeploymentStreamAndEq | DeploymentStreamAndNe | DeploymentStreamAndGt | DeploymentStreamAndGte | DeploymentStreamAndLt | DeploymentStreamAndLte | DeploymentStreamAndIn | DeploymentStreamAndNin | DeploymentStreamAndExists;
    }>;
};
/**
 * Exists
 */
export type OneExists = {
    exists: boolean;
};
export type DeploymentStream1DeploymentsNin = string | number | boolean;
/**
 * Not in
 */
export type DeploymentStream1Nin = {
    nin: Array<string | number | boolean>;
};
export type DeploymentStream1DeploymentsIn = string | number | boolean;
/**
 * In
 */
export type DeploymentStream1In = {
    in: Array<string | number | boolean>;
};
/**
 * Less than or equal to
 */
export type OneLte = {
    lte: number;
};
/**
 * Less than
 */
export type OneLt = {
    lt: number;
};
/**
 * Greater than or equal to
 */
export type OneGte = {
    gte: number;
};
/**
 * Greater than
 */
export type OneGt = {
    gt: number;
};
export type DeploymentStream1DeploymentsNe = string | number | boolean;
/**
 * Not equal to
 */
export type DeploymentStream1Ne = {
    ne: string | number | boolean;
};
export type DeploymentStream1DeploymentsEq = string | number | boolean;
/**
 * Equal to
 */
export type DeploymentStream1Eq = {
    eq: string | number | boolean;
};
export type DeploymentStreamKnowledgeFilter1 = DeploymentStream1Eq | DeploymentStream1Ne | OneGt | OneGte | OneLt | OneLte | DeploymentStream1In | DeploymentStream1Nin | OneExists;
/**
 * A filter to apply to the knowledge base chunk metadata when using  knowledge bases in the deployment.
 */
export type DeploymentStreamKnowledgeFilter = DeploymentStreamKnowledgeFilterAnd | DeploymentStreamKnowledgeFilterOr | {
    [k: string]: DeploymentStream1Eq | DeploymentStream1Ne | OneGt | OneGte | OneLt | OneLte | DeploymentStream1In | DeploymentStream1Nin | OneExists;
};
export type DeploymentStreamRequestBody = {
    /**
     * The deployment key to invoke
     */
    key: string;
    /**
     * Key-value pairs variables to replace in your prompts. If a variable is not provided that is defined in the prompt, the default variables are used.
     */
    inputs?: {
        [k: string]: any;
    } | undefined;
    /**
     * Key-value pairs that match your data model and fields declared in your deployment routing configuration
     */
    context?: {
        [k: string]: any;
    } | undefined;
    /**
     * A list of messages to include after the `System` message, but before the  `User` and `Assistant` pairs configured in your deployment.
     */
    prefixMessages?: Array<PrefixMessagesSystemMessage | PrefixMessagesDeveloperMessage | PrefixMessagesUserMessage | PrefixMessagesAssistantMessage | PrefixMessagesToolMessage> | undefined;
    /**
     * A list of messages to send to the deployment.
     */
    messages?: Array<DeploymentStreamMessagesSystemMessage | DeploymentStreamMessagesDeveloperMessage | DeploymentStreamMessagesUserMessage | DeploymentStreamMessagesAssistantMessage | DeploymentStreamMessagesToolMessage> | undefined;
    /**
     * Information about the identity making the request. If the identity does not exist, it will be created automatically.
     */
    identity?: components.PublicIdentity | undefined;
    /**
     * A list of file IDs that are associated with the deployment request.
     */
    fileIds?: Array<string> | undefined;
    /**
     * Key-value pairs that you want to attach to the log generated by this request.
     */
    metadata?: {
        [k: string]: any;
    } | undefined;
    /**
     * Utilized for passing additional parameters to the model provider. Exercise caution when using this feature, as the included parameters will overwrite any parameters specified in the deployment prompt configuration.
     */
    extraParams?: {
        [k: string]: any;
    } | undefined;
    /**
     * A list of documents from your external knowledge base (e.g., chunks retrieved from your own vector database or RAG pipeline) that provide context for the model response. These documents can be used by evaluators and guardrails to assess the relevance and accuracy of the model output against the provided context.
     */
    documents?: Array<DeploymentStreamDocuments> | undefined;
    invokeOptions?: DeploymentStreamInvokeOptions | undefined;
    thread?: DeploymentStreamThread | undefined;
    /**
     * A filter to apply to the knowledge base chunk metadata when using  knowledge bases in the deployment.
     */
    knowledgeFilter?: DeploymentStreamKnowledgeFilterAnd | DeploymentStreamKnowledgeFilterOr | {
        [k: string]: DeploymentStream1Eq | DeploymentStream1Ne | OneGt | OneGte | OneLt | OneLte | DeploymentStream1In | DeploymentStream1Nin | OneExists;
    } | undefined;
};
/**
 * Indicates the type of model used to generate the response
 */
export declare const DeploymentStreamObject: {
    readonly Chat: "chat";
    readonly Completion: "completion";
    readonly Image: "image";
};
/**
 * Indicates the type of model used to generate the response
 */
export type DeploymentStreamObject = ClosedEnum<typeof DeploymentStreamObject>;
/**
 * The provider used to generate the response
 */
export declare const DeploymentStreamProvider: {
    readonly Openai: "openai";
    readonly Groq: "groq";
    readonly Cohere: "cohere";
    readonly Azure: "azure";
    readonly Aws: "aws";
    readonly Google: "google";
    readonly GoogleAi: "google-ai";
    readonly Huggingface: "huggingface";
    readonly Togetherai: "togetherai";
    readonly Perplexity: "perplexity";
    readonly Anthropic: "anthropic";
    readonly Leonardoai: "leonardoai";
    readonly Fal: "fal";
    readonly Nvidia: "nvidia";
    readonly Jina: "jina";
    readonly Elevenlabs: "elevenlabs";
    readonly Litellm: "litellm";
    readonly Cerebras: "cerebras";
    readonly Openailike: "openailike";
    readonly Bytedance: "bytedance";
    readonly Mistral: "mistral";
    readonly Deepseek: "deepseek";
    readonly Contextualai: "contextualai";
    readonly Moonshotai: "moonshotai";
    readonly Zai: "zai";
    readonly Minimax: "minimax";
    readonly Alibaba: "alibaba";
    readonly Slack: "slack";
};
/**
 * The provider used to generate the response
 */
export type DeploymentStreamProvider = ClosedEnum<typeof DeploymentStreamProvider>;
/**
 * Metadata of the retrieved chunk from the knowledge base
 */
export type DeploymentStreamDeploymentsMetadata = {
    /**
     * Name of the file
     */
    fileName: string;
    /**
     * Page number of the chunk
     */
    pageNumber: number | null;
    /**
     * Type of the file
     */
    fileType: string;
    /**
     * Rerank scores are normalized to be in the range [0, 1]. Scores close to 1 indicate a high relevance to the query, and scores closer to 0 indicate low relevance. It is not accurate to assume a score of 0.9 means the document is 2x more relevant than a document with a score of 0.45
     */
    rerankScore?: number | undefined;
    /**
     * Search scores are normalized to be in the range [0, 1]. Search score is calculated based on `[Cosine Similarity](https://en.wikipedia.org/wiki/Cosine_similarity)` algorithm. Scores close to 1 indicate the document is closer to the query, and scores closer to 0 indicate the document is farther from the query.
     */
    searchScore: number;
};
export type DeploymentStreamRetrievals = {
    /**
     * Content of the retrieved chunk from the knowledge base
     */
    document: string;
    /**
     * Metadata of the retrieved chunk from the knowledge base
     */
    metadata: DeploymentStreamDeploymentsMetadata;
};
export type DeploymentStreamPromptTokensDetails = {
    cachedTokens?: number | null | undefined;
};
export type DeploymentStreamCompletionTokensDetails = {
    reasoningTokens?: number | null | undefined;
};
/**
 * Usage metrics for the response
 */
export type DeploymentStreamUsage = {
    totalTokens?: number | undefined;
    promptTokens?: number | undefined;
    completionTokens?: number | undefined;
    promptTokensDetails?: DeploymentStreamPromptTokensDetails | undefined;
    completionTokensDetails?: DeploymentStreamCompletionTokensDetails | null | undefined;
};
/**
 * The role of the prompt message
 */
export declare const DeploymentStreamMessageDeploymentsResponseRole: {
    readonly System: "system";
    readonly Assistant: "assistant";
    readonly User: "user";
    readonly Exception: "exception";
    readonly Tool: "tool";
    readonly Prompt: "prompt";
    readonly Correction: "correction";
    readonly ExpectedOutput: "expected_output";
};
/**
 * The role of the prompt message
 */
export type DeploymentStreamMessageDeploymentsResponseRole = ClosedEnum<typeof DeploymentStreamMessageDeploymentsResponseRole>;
export type DeploymentStreamMessage3 = {
    type: "image";
    /**
     * The role of the prompt message
     */
    role: DeploymentStreamMessageDeploymentsResponseRole;
    url: string;
};
/**
 * The role of the prompt message
 */
export declare const DeploymentStreamMessageDeploymentsRole: {
    readonly System: "system";
    readonly Assistant: "assistant";
    readonly User: "user";
    readonly Exception: "exception";
    readonly Tool: "tool";
    readonly Prompt: "prompt";
    readonly Correction: "correction";
    readonly ExpectedOutput: "expected_output";
};
/**
 * The role of the prompt message
 */
export type DeploymentStreamMessageDeploymentsRole = ClosedEnum<typeof DeploymentStreamMessageDeploymentsRole>;
export type DeploymentStreamMessage2 = {
    type: "content";
    /**
     * The role of the prompt message
     */
    role: DeploymentStreamMessageDeploymentsRole;
    content: string | null;
    /**
     * Internal thought process of the model
     */
    reasoning?: string | undefined;
    /**
     * The signature holds a cryptographic token which verifies that the thinking block was generated by the model, and is verified when thinking is part of a multiturn conversation. This value should not be modified and should always be sent to the API when the reasoning is redacted. Currently only supported by `Anthropic`.
     */
    reasoningSignature?: string | undefined;
    /**
     * Occasionally the model's internal reasoning will be flagged by the safety systems of the provider. When this occurs, the provider will encrypt the reasoning. These redacted reasoning is decrypted when passed back to the API, allowing the model to continue its response without losing context.
     */
    redactedReasoning?: string | undefined;
};
/**
 * The role of the prompt message
 */
export declare const DeploymentStreamMessageRole: {
    readonly System: "system";
    readonly Assistant: "assistant";
    readonly User: "user";
    readonly Exception: "exception";
    readonly Tool: "tool";
    readonly Prompt: "prompt";
    readonly Correction: "correction";
    readonly ExpectedOutput: "expected_output";
};
/**
 * The role of the prompt message
 */
export type DeploymentStreamMessageRole = ClosedEnum<typeof DeploymentStreamMessageRole>;
export declare const DeploymentStreamMessageDeploymentsResponse200Type: {
    readonly Function: "function";
};
export type DeploymentStreamMessageDeploymentsResponse200Type = ClosedEnum<typeof DeploymentStreamMessageDeploymentsResponse200Type>;
export type DeploymentStreamMessageFunction = {
    name: string;
    /**
     * JSON string arguments for the functions
     */
    arguments: string;
};
export type DeploymentStreamMessageToolCalls = {
    id?: string | undefined;
    index?: number | undefined;
    type: DeploymentStreamMessageDeploymentsResponse200Type;
    function: DeploymentStreamMessageFunction;
};
export type DeploymentStreamMessage1 = {
    type: "tool_calls";
    /**
     * The role of the prompt message
     */
    role: DeploymentStreamMessageRole;
    content?: string | null | undefined;
    toolCalls: Array<DeploymentStreamMessageToolCalls>;
    /**
     * Internal thought process of the model
     */
    reasoning?: string | undefined;
    /**
     * The signature holds a cryptographic token which verifies that the thinking block was generated by the model, and is verified when thinking is part of a multiturn conversation. This value should not be modified and should always be sent to the API when the reasoning is redacted. Currently only supported by `Anthropic`.
     */
    reasoningSignature?: string | undefined;
    /**
     * Occasionally the model's internal reasoning will be flagged by the safety systems of the provider. When this occurs, the provider will encrypt the reasoning. These redacted reasoning is decrypted when passed back to the API, allowing the model to continue its response without losing context.
     */
    redactedReasoning?: string | undefined;
};
export type DeploymentStreamMessage = DeploymentStreamMessage1 | DeploymentStreamMessage2 | DeploymentStreamMessage3;
export type DeploymentStreamChoices = {
    index: number;
    message: DeploymentStreamMessage1 | DeploymentStreamMessage2 | DeploymentStreamMessage3;
    finishReason?: string | null | undefined;
};
export type DeploymentStreamData = {
    /**
     * A unique identifier for the response. Can be used to add metrics to the transaction.
     */
    id: string;
    /**
     * A timestamp indicating when the object was created. Usually in a standardized format like ISO 8601
     */
    created: Date;
    /**
     * Indicates the type of model used to generate the response
     */
    object: DeploymentStreamObject;
    /**
     * The model used to generate the response
     */
    model: string;
    /**
     * The provider used to generate the response
     */
    provider: DeploymentStreamProvider;
    /**
     * Indicates if the response is the final response
     */
    isFinal: boolean;
    /**
     * Indicates integration id used to generate the response
     */
    integrationId?: string | undefined;
    /**
     * A timestamp indicating when the object was finalized. Usually in a standardized format like ISO 8601
     */
    finalized?: Date | undefined;
    /**
     * Provider backed system fingerprint.
     */
    systemFingerprint?: string | null | undefined;
    /**
     * List of documents retrieved from the knowledge base. This property is only available when the `include_retrievals` flag is set to `true` in the invoke settings. When stream is set to true, the `retrievals` property will be returned in the last streamed chunk where the property `is_final` is set to `true`.
     */
    retrievals?: Array<DeploymentStreamRetrievals> | undefined;
    /**
     * Response returned by the model provider. This functionality is only supported when streaming is not used. If streaming is used, the `provider_response` property will be set to `null`.
     */
    providerResponse?: any | undefined;
    /**
     * Usage metrics for the response
     */
    usage?: DeploymentStreamUsage | null | undefined;
    /**
     * A list of choices generated by the model
     */
    choices: Array<DeploymentStreamChoices>;
};
/**
 * Successful operation
 */
export type DeploymentStreamResponseBody = {
    data?: DeploymentStreamData | undefined;
};
/** @internal */
export type DeploymentStreamContentDeploymentsRequest2$Outbound = components.TextContentPartSchema$Outbound;
/** @internal */
export declare const DeploymentStreamContentDeploymentsRequest2$outboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequest2$Outbound, z.ZodTypeDef, DeploymentStreamContentDeploymentsRequest2>;
export declare function deploymentStreamContentDeploymentsRequest2ToJSON(deploymentStreamContentDeploymentsRequest2: DeploymentStreamContentDeploymentsRequest2): string;
/** @internal */
export type DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
/** @internal */
export declare const DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content$outboundSchema: z.ZodType<DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content$Outbound, z.ZodTypeDef, DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content>;
export declare function deploymentStreamPrefixMessagesDeploymentsRequestRequestBody5ContentToJSON(deploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content: DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content): string;
/** @internal */
export declare const DeploymentStreamPrefixMessagesDeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentStreamPrefixMessagesDeploymentsType>;
/** @internal */
export declare const DeploymentStreamPrefixMessagesTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentStreamPrefixMessagesTtl>;
/** @internal */
export type DeploymentStreamPrefixMessagesCacheControl$Outbound = {
    type: string;
    ttl: string;
};
/** @internal */
export declare const DeploymentStreamPrefixMessagesCacheControl$outboundSchema: z.ZodType<DeploymentStreamPrefixMessagesCacheControl$Outbound, z.ZodTypeDef, DeploymentStreamPrefixMessagesCacheControl>;
export declare function deploymentStreamPrefixMessagesCacheControlToJSON(deploymentStreamPrefixMessagesCacheControl: DeploymentStreamPrefixMessagesCacheControl): string;
/** @internal */
export type PrefixMessagesToolMessage$Outbound = {
    role: "tool";
    content: string | Array<components.TextContentPartSchema$Outbound>;
    tool_call_id: string | null;
    cache_control?: DeploymentStreamPrefixMessagesCacheControl$Outbound | undefined;
};
/** @internal */
export declare const PrefixMessagesToolMessage$outboundSchema: z.ZodType<PrefixMessagesToolMessage$Outbound, z.ZodTypeDef, PrefixMessagesToolMessage>;
export declare function prefixMessagesToolMessageToJSON(prefixMessagesToolMessage: PrefixMessagesToolMessage): string;
/** @internal */
export type DeploymentStreamContentDeployments2$Outbound = (components.TextContentPartSchema$Outbound & {
    type: "text";
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
/** @internal */
export declare const DeploymentStreamContentDeployments2$outboundSchema: z.ZodType<DeploymentStreamContentDeployments2$Outbound, z.ZodTypeDef, DeploymentStreamContentDeployments2>;
export declare function deploymentStreamContentDeployments2ToJSON(deploymentStreamContentDeployments2: DeploymentStreamContentDeployments2): string;
/** @internal */
export type DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
    type: "text";
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
/** @internal */
export declare const DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent$outboundSchema: z.ZodType<DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent$Outbound, z.ZodTypeDef, DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent>;
export declare function deploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContentToJSON(deploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent: DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent): string;
/** @internal */
export type PrefixMessagesAudio$Outbound = {
    id: string;
};
/** @internal */
export declare const PrefixMessagesAudio$outboundSchema: z.ZodType<PrefixMessagesAudio$Outbound, z.ZodTypeDef, PrefixMessagesAudio>;
export declare function prefixMessagesAudioToJSON(prefixMessagesAudio: PrefixMessagesAudio): string;
/** @internal */
export declare const DeploymentStreamPrefixMessagesType$outboundSchema: z.ZodNativeEnum<typeof DeploymentStreamPrefixMessagesType>;
/** @internal */
export type DeploymentStreamPrefixMessagesFunction$Outbound = {
    name?: string | undefined;
    arguments?: string | undefined;
};
/** @internal */
export declare const DeploymentStreamPrefixMessagesFunction$outboundSchema: z.ZodType<DeploymentStreamPrefixMessagesFunction$Outbound, z.ZodTypeDef, DeploymentStreamPrefixMessagesFunction>;
export declare function deploymentStreamPrefixMessagesFunctionToJSON(deploymentStreamPrefixMessagesFunction: DeploymentStreamPrefixMessagesFunction): string;
/** @internal */
export type DeploymentStreamPrefixMessagesToolCalls$Outbound = {
    id: string;
    type: string;
    function: DeploymentStreamPrefixMessagesFunction$Outbound;
    thought_signature?: string | undefined;
};
/** @internal */
export declare const DeploymentStreamPrefixMessagesToolCalls$outboundSchema: z.ZodType<DeploymentStreamPrefixMessagesToolCalls$Outbound, z.ZodTypeDef, DeploymentStreamPrefixMessagesToolCalls>;
export declare function deploymentStreamPrefixMessagesToolCallsToJSON(deploymentStreamPrefixMessagesToolCalls: DeploymentStreamPrefixMessagesToolCalls): string;
/** @internal */
export type PrefixMessagesAssistantMessage$Outbound = {
    content?: string | Array<(components.TextContentPartSchema$Outbound & {
        type: "text";
    }) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
    refusal?: string | null | undefined;
    role: "assistant";
    name?: string | undefined;
    audio?: PrefixMessagesAudio$Outbound | null | undefined;
    tool_calls?: Array<DeploymentStreamPrefixMessagesToolCalls$Outbound> | undefined;
};
/** @internal */
export declare const PrefixMessagesAssistantMessage$outboundSchema: z.ZodType<PrefixMessagesAssistantMessage$Outbound, z.ZodTypeDef, PrefixMessagesAssistantMessage>;
export declare function prefixMessagesAssistantMessageToJSON(prefixMessagesAssistantMessage: PrefixMessagesAssistantMessage): string;
/** @internal */
export declare const DeploymentStream2DeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsType>;
/** @internal */
export declare const DeploymentStream2Ttl$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2Ttl>;
/** @internal */
export type DeploymentStream2CacheControl$Outbound = {
    type: string;
    ttl: string;
};
/** @internal */
export declare const DeploymentStream2CacheControl$outboundSchema: z.ZodType<DeploymentStream2CacheControl$Outbound, z.ZodTypeDef, DeploymentStream2CacheControl>;
export declare function deploymentStream2CacheControlToJSON(deploymentStream2CacheControl: DeploymentStream2CacheControl): string;
/** @internal */
export type DeploymentStream24$Outbound = {
    type: "file";
    cache_control?: DeploymentStream2CacheControl$Outbound | undefined;
    file: components.FileContentPartSchema$Outbound;
};
/** @internal */
export declare const DeploymentStream24$outboundSchema: z.ZodType<DeploymentStream24$Outbound, z.ZodTypeDef, DeploymentStream24>;
export declare function deploymentStream24ToJSON(deploymentStream24: DeploymentStream24): string;
/** @internal */
export type DeploymentStreamContent2$Outbound = (components.TextContentPartSchema$Outbound & {
    type: "text";
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentStream24$Outbound;
/** @internal */
export declare const DeploymentStreamContent2$outboundSchema: z.ZodType<DeploymentStreamContent2$Outbound, z.ZodTypeDef, DeploymentStreamContent2>;
export declare function deploymentStreamContent2ToJSON(deploymentStreamContent2: DeploymentStreamContent2): string;
/** @internal */
export type DeploymentStreamPrefixMessagesDeploymentsRequestContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
    type: "text";
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentStream24$Outbound>;
/** @internal */
export declare const DeploymentStreamPrefixMessagesDeploymentsRequestContent$outboundSchema: z.ZodType<DeploymentStreamPrefixMessagesDeploymentsRequestContent$Outbound, z.ZodTypeDef, DeploymentStreamPrefixMessagesDeploymentsRequestContent>;
export declare function deploymentStreamPrefixMessagesDeploymentsRequestContentToJSON(deploymentStreamPrefixMessagesDeploymentsRequestContent: DeploymentStreamPrefixMessagesDeploymentsRequestContent): string;
/** @internal */
export type PrefixMessagesUserMessage$Outbound = {
    role: "user";
    name?: string | undefined;
    content: string | Array<(components.TextContentPartSchema$Outbound & {
        type: "text";
    }) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentStream24$Outbound>;
};
/** @internal */
export declare const PrefixMessagesUserMessage$outboundSchema: z.ZodType<PrefixMessagesUserMessage$Outbound, z.ZodTypeDef, PrefixMessagesUserMessage>;
export declare function prefixMessagesUserMessageToJSON(prefixMessagesUserMessage: PrefixMessagesUserMessage): string;
/** @internal */
export type DeploymentStreamPrefixMessagesDeploymentsContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
/** @internal */
export declare const DeploymentStreamPrefixMessagesDeploymentsContent$outboundSchema: z.ZodType<DeploymentStreamPrefixMessagesDeploymentsContent$Outbound, z.ZodTypeDef, DeploymentStreamPrefixMessagesDeploymentsContent>;
export declare function deploymentStreamPrefixMessagesDeploymentsContentToJSON(deploymentStreamPrefixMessagesDeploymentsContent: DeploymentStreamPrefixMessagesDeploymentsContent): string;
/** @internal */
export type PrefixMessagesDeveloperMessage$Outbound = {
    role: "developer";
    content: string | Array<components.TextContentPartSchema$Outbound>;
    name?: string | undefined;
};
/** @internal */
export declare const PrefixMessagesDeveloperMessage$outboundSchema: z.ZodType<PrefixMessagesDeveloperMessage$Outbound, z.ZodTypeDef, PrefixMessagesDeveloperMessage>;
export declare function prefixMessagesDeveloperMessageToJSON(prefixMessagesDeveloperMessage: PrefixMessagesDeveloperMessage): string;
/** @internal */
export type DeploymentStreamPrefixMessagesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
/** @internal */
export declare const DeploymentStreamPrefixMessagesContent$outboundSchema: z.ZodType<DeploymentStreamPrefixMessagesContent$Outbound, z.ZodTypeDef, DeploymentStreamPrefixMessagesContent>;
export declare function deploymentStreamPrefixMessagesContentToJSON(deploymentStreamPrefixMessagesContent: DeploymentStreamPrefixMessagesContent): string;
/** @internal */
export type PrefixMessagesSystemMessage$Outbound = {
    role: "system";
    content: string | Array<components.TextContentPartSchema$Outbound>;
    name?: string | undefined;
};
/** @internal */
export declare const PrefixMessagesSystemMessage$outboundSchema: z.ZodType<PrefixMessagesSystemMessage$Outbound, z.ZodTypeDef, PrefixMessagesSystemMessage>;
export declare function prefixMessagesSystemMessageToJSON(prefixMessagesSystemMessage: PrefixMessagesSystemMessage): string;
/** @internal */
export type DeploymentStreamPrefixMessages$Outbound = PrefixMessagesSystemMessage$Outbound | PrefixMessagesDeveloperMessage$Outbound | PrefixMessagesUserMessage$Outbound | PrefixMessagesAssistantMessage$Outbound | PrefixMessagesToolMessage$Outbound;
/** @internal */
export declare const DeploymentStreamPrefixMessages$outboundSchema: z.ZodType<DeploymentStreamPrefixMessages$Outbound, z.ZodTypeDef, DeploymentStreamPrefixMessages>;
export declare function deploymentStreamPrefixMessagesToJSON(deploymentStreamPrefixMessages: DeploymentStreamPrefixMessages): string;
/** @internal */
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages52$Outbound = components.TextContentPartSchema$Outbound;
/** @internal */
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages52$outboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestRequestBodyMessages52$Outbound, z.ZodTypeDef, DeploymentStreamContentDeploymentsRequestRequestBodyMessages52>;
export declare function deploymentStreamContentDeploymentsRequestRequestBodyMessages52ToJSON(deploymentStreamContentDeploymentsRequestRequestBodyMessages52: DeploymentStreamContentDeploymentsRequestRequestBodyMessages52): string;
/** @internal */
export type DeploymentStreamMessagesDeploymentsRequestRequestBody5Content$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
/** @internal */
export declare const DeploymentStreamMessagesDeploymentsRequestRequestBody5Content$outboundSchema: z.ZodType<DeploymentStreamMessagesDeploymentsRequestRequestBody5Content$Outbound, z.ZodTypeDef, DeploymentStreamMessagesDeploymentsRequestRequestBody5Content>;
export declare function deploymentStreamMessagesDeploymentsRequestRequestBody5ContentToJSON(deploymentStreamMessagesDeploymentsRequestRequestBody5Content: DeploymentStreamMessagesDeploymentsRequestRequestBody5Content): string;
/** @internal */
export declare const DeploymentStreamMessagesDeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentStreamMessagesDeploymentsType>;
/** @internal */
export declare const DeploymentStreamMessagesTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentStreamMessagesTtl>;
/** @internal */
export type DeploymentStreamMessagesCacheControl$Outbound = {
    type: string;
    ttl: string;
};
/** @internal */
export declare const DeploymentStreamMessagesCacheControl$outboundSchema: z.ZodType<DeploymentStreamMessagesCacheControl$Outbound, z.ZodTypeDef, DeploymentStreamMessagesCacheControl>;
export declare function deploymentStreamMessagesCacheControlToJSON(deploymentStreamMessagesCacheControl: DeploymentStreamMessagesCacheControl): string;
/** @internal */
export type DeploymentStreamMessagesToolMessage$Outbound = {
    role: "tool";
    content: string | Array<components.TextContentPartSchema$Outbound>;
    tool_call_id: string | null;
    cache_control?: DeploymentStreamMessagesCacheControl$Outbound | undefined;
};
/** @internal */
export declare const DeploymentStreamMessagesToolMessage$outboundSchema: z.ZodType<DeploymentStreamMessagesToolMessage$Outbound, z.ZodTypeDef, DeploymentStreamMessagesToolMessage>;
export declare function deploymentStreamMessagesToolMessageToJSON(deploymentStreamMessagesToolMessage: DeploymentStreamMessagesToolMessage): string;
/** @internal */
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages2$Outbound = (components.TextContentPartSchema$Outbound & {
    type: "text";
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
/** @internal */
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages2$outboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestRequestBodyMessages2$Outbound, z.ZodTypeDef, DeploymentStreamContentDeploymentsRequestRequestBodyMessages2>;
export declare function deploymentStreamContentDeploymentsRequestRequestBodyMessages2ToJSON(deploymentStreamContentDeploymentsRequestRequestBodyMessages2: DeploymentStreamContentDeploymentsRequestRequestBodyMessages2): string;
/** @internal */
export type DeploymentStreamMessagesDeploymentsRequestRequestBodyContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
    type: "text";
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
/** @internal */
export declare const DeploymentStreamMessagesDeploymentsRequestRequestBodyContent$outboundSchema: z.ZodType<DeploymentStreamMessagesDeploymentsRequestRequestBodyContent$Outbound, z.ZodTypeDef, DeploymentStreamMessagesDeploymentsRequestRequestBodyContent>;
export declare function deploymentStreamMessagesDeploymentsRequestRequestBodyContentToJSON(deploymentStreamMessagesDeploymentsRequestRequestBodyContent: DeploymentStreamMessagesDeploymentsRequestRequestBodyContent): string;
/** @internal */
export type DeploymentStreamMessagesAudio$Outbound = {
    id: string;
};
/** @internal */
export declare const DeploymentStreamMessagesAudio$outboundSchema: z.ZodType<DeploymentStreamMessagesAudio$Outbound, z.ZodTypeDef, DeploymentStreamMessagesAudio>;
export declare function deploymentStreamMessagesAudioToJSON(deploymentStreamMessagesAudio: DeploymentStreamMessagesAudio): string;
/** @internal */
export declare const DeploymentStreamMessagesType$outboundSchema: z.ZodNativeEnum<typeof DeploymentStreamMessagesType>;
/** @internal */
export type DeploymentStreamMessagesFunction$Outbound = {
    name?: string | undefined;
    arguments?: string | undefined;
};
/** @internal */
export declare const DeploymentStreamMessagesFunction$outboundSchema: z.ZodType<DeploymentStreamMessagesFunction$Outbound, z.ZodTypeDef, DeploymentStreamMessagesFunction>;
export declare function deploymentStreamMessagesFunctionToJSON(deploymentStreamMessagesFunction: DeploymentStreamMessagesFunction): string;
/** @internal */
export type DeploymentStreamMessagesToolCalls$Outbound = {
    id: string;
    type: string;
    function: DeploymentStreamMessagesFunction$Outbound;
    thought_signature?: string | undefined;
};
/** @internal */
export declare const DeploymentStreamMessagesToolCalls$outboundSchema: z.ZodType<DeploymentStreamMessagesToolCalls$Outbound, z.ZodTypeDef, DeploymentStreamMessagesToolCalls>;
export declare function deploymentStreamMessagesToolCallsToJSON(deploymentStreamMessagesToolCalls: DeploymentStreamMessagesToolCalls): string;
/** @internal */
export type DeploymentStreamMessagesAssistantMessage$Outbound = {
    content?: string | Array<(components.TextContentPartSchema$Outbound & {
        type: "text";
    }) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
    refusal?: string | null | undefined;
    role: "assistant";
    name?: string | undefined;
    audio?: DeploymentStreamMessagesAudio$Outbound | null | undefined;
    tool_calls?: Array<DeploymentStreamMessagesToolCalls$Outbound> | undefined;
};
/** @internal */
export declare const DeploymentStreamMessagesAssistantMessage$outboundSchema: z.ZodType<DeploymentStreamMessagesAssistantMessage$Outbound, z.ZodTypeDef, DeploymentStreamMessagesAssistantMessage>;
export declare function deploymentStreamMessagesAssistantMessageToJSON(deploymentStreamMessagesAssistantMessage: DeploymentStreamMessagesAssistantMessage): string;
/** @internal */
export declare const DeploymentStream2DeploymentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyType>;
/** @internal */
export declare const DeploymentStream2DeploymentsTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsTtl>;
/** @internal */
export type DeploymentStream2DeploymentsCacheControl$Outbound = {
    type: string;
    ttl: string;
};
/** @internal */
export declare const DeploymentStream2DeploymentsCacheControl$outboundSchema: z.ZodType<DeploymentStream2DeploymentsCacheControl$Outbound, z.ZodTypeDef, DeploymentStream2DeploymentsCacheControl>;
export declare function deploymentStream2DeploymentsCacheControlToJSON(deploymentStream2DeploymentsCacheControl: DeploymentStream2DeploymentsCacheControl): string;
/** @internal */
export type DeploymentStream2Deployments4$Outbound = {
    type: "file";
    cache_control?: DeploymentStream2DeploymentsCacheControl$Outbound | undefined;
    file: components.FileContentPartSchema$Outbound;
};
/** @internal */
export declare const DeploymentStream2Deployments4$outboundSchema: z.ZodType<DeploymentStream2Deployments4$Outbound, z.ZodTypeDef, DeploymentStream2Deployments4>;
export declare function deploymentStream2Deployments4ToJSON(deploymentStream2Deployments4: DeploymentStream2Deployments4): string;
/** @internal */
export type DeploymentStreamContentDeploymentsRequestRequestBody2$Outbound = (components.TextContentPartSchema$Outbound & {
    type: "text";
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentStream2Deployments4$Outbound;
/** @internal */
export declare const DeploymentStreamContentDeploymentsRequestRequestBody2$outboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestRequestBody2$Outbound, z.ZodTypeDef, DeploymentStreamContentDeploymentsRequestRequestBody2>;
export declare function deploymentStreamContentDeploymentsRequestRequestBody2ToJSON(deploymentStreamContentDeploymentsRequestRequestBody2: DeploymentStreamContentDeploymentsRequestRequestBody2): string;
/** @internal */
export type DeploymentStreamMessagesDeploymentsRequestContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
    type: "text";
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentStream2Deployments4$Outbound>;
/** @internal */
export declare const DeploymentStreamMessagesDeploymentsRequestContent$outboundSchema: z.ZodType<DeploymentStreamMessagesDeploymentsRequestContent$Outbound, z.ZodTypeDef, DeploymentStreamMessagesDeploymentsRequestContent>;
export declare function deploymentStreamMessagesDeploymentsRequestContentToJSON(deploymentStreamMessagesDeploymentsRequestContent: DeploymentStreamMessagesDeploymentsRequestContent): string;
/** @internal */
export type DeploymentStreamMessagesUserMessage$Outbound = {
    role: "user";
    name?: string | undefined;
    content: string | Array<(components.TextContentPartSchema$Outbound & {
        type: "text";
    }) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentStream2Deployments4$Outbound>;
};
/** @internal */
export declare const DeploymentStreamMessagesUserMessage$outboundSchema: z.ZodType<DeploymentStreamMessagesUserMessage$Outbound, z.ZodTypeDef, DeploymentStreamMessagesUserMessage>;
export declare function deploymentStreamMessagesUserMessageToJSON(deploymentStreamMessagesUserMessage: DeploymentStreamMessagesUserMessage): string;
/** @internal */
export type DeploymentStreamMessagesDeploymentsContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
/** @internal */
export declare const DeploymentStreamMessagesDeploymentsContent$outboundSchema: z.ZodType<DeploymentStreamMessagesDeploymentsContent$Outbound, z.ZodTypeDef, DeploymentStreamMessagesDeploymentsContent>;
export declare function deploymentStreamMessagesDeploymentsContentToJSON(deploymentStreamMessagesDeploymentsContent: DeploymentStreamMessagesDeploymentsContent): string;
/** @internal */
export type DeploymentStreamMessagesDeveloperMessage$Outbound = {
    role: "developer";
    content: string | Array<components.TextContentPartSchema$Outbound>;
    name?: string | undefined;
};
/** @internal */
export declare const DeploymentStreamMessagesDeveloperMessage$outboundSchema: z.ZodType<DeploymentStreamMessagesDeveloperMessage$Outbound, z.ZodTypeDef, DeploymentStreamMessagesDeveloperMessage>;
export declare function deploymentStreamMessagesDeveloperMessageToJSON(deploymentStreamMessagesDeveloperMessage: DeploymentStreamMessagesDeveloperMessage): string;
/** @internal */
export type DeploymentStreamMessagesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
/** @internal */
export declare const DeploymentStreamMessagesContent$outboundSchema: z.ZodType<DeploymentStreamMessagesContent$Outbound, z.ZodTypeDef, DeploymentStreamMessagesContent>;
export declare function deploymentStreamMessagesContentToJSON(deploymentStreamMessagesContent: DeploymentStreamMessagesContent): string;
/** @internal */
export type DeploymentStreamMessagesSystemMessage$Outbound = {
    role: "system";
    content: string | Array<components.TextContentPartSchema$Outbound>;
    name?: string | undefined;
};
/** @internal */
export declare const DeploymentStreamMessagesSystemMessage$outboundSchema: z.ZodType<DeploymentStreamMessagesSystemMessage$Outbound, z.ZodTypeDef, DeploymentStreamMessagesSystemMessage>;
export declare function deploymentStreamMessagesSystemMessageToJSON(deploymentStreamMessagesSystemMessage: DeploymentStreamMessagesSystemMessage): string;
/** @internal */
export type DeploymentStreamMessages$Outbound = DeploymentStreamMessagesSystemMessage$Outbound | DeploymentStreamMessagesDeveloperMessage$Outbound | DeploymentStreamMessagesUserMessage$Outbound | DeploymentStreamMessagesAssistantMessage$Outbound | DeploymentStreamMessagesToolMessage$Outbound;
/** @internal */
export declare const DeploymentStreamMessages$outboundSchema: z.ZodType<DeploymentStreamMessages$Outbound, z.ZodTypeDef, DeploymentStreamMessages>;
export declare function deploymentStreamMessagesToJSON(deploymentStreamMessages: DeploymentStreamMessages): string;
/** @internal */
export type DeploymentStreamMetadata$Outbound = {
    file_name?: string | undefined;
    file_type?: string | undefined;
    page_number?: number | undefined;
};
/** @internal */
export declare const DeploymentStreamMetadata$outboundSchema: z.ZodType<DeploymentStreamMetadata$Outbound, z.ZodTypeDef, DeploymentStreamMetadata>;
export declare function deploymentStreamMetadataToJSON(deploymentStreamMetadata: DeploymentStreamMetadata): string;
/** @internal */
export type DeploymentStreamDocuments$Outbound = {
    text: string;
    metadata?: DeploymentStreamMetadata$Outbound | undefined;
};
/** @internal */
export declare const DeploymentStreamDocuments$outboundSchema: z.ZodType<DeploymentStreamDocuments$Outbound, z.ZodTypeDef, DeploymentStreamDocuments>;
export declare function deploymentStreamDocumentsToJSON(deploymentStreamDocuments: DeploymentStreamDocuments): string;
/** @internal */
export type DeploymentStreamInvokeOptions$Outbound = {
    include_retrievals: boolean;
    include_usage: boolean;
    mock_response?: string | undefined;
};
/** @internal */
export declare const DeploymentStreamInvokeOptions$outboundSchema: z.ZodType<DeploymentStreamInvokeOptions$Outbound, z.ZodTypeDef, DeploymentStreamInvokeOptions>;
export declare function deploymentStreamInvokeOptionsToJSON(deploymentStreamInvokeOptions: DeploymentStreamInvokeOptions): string;
/** @internal */
export type DeploymentStreamThread$Outbound = {
    id: string;
    tags?: Array<string> | undefined;
};
/** @internal */
export declare const DeploymentStreamThread$outboundSchema: z.ZodType<DeploymentStreamThread$Outbound, z.ZodTypeDef, DeploymentStreamThread>;
export declare function deploymentStreamThreadToJSON(deploymentStreamThread: DeploymentStreamThread): string;
/** @internal */
export type DeploymentStreamOrExists$Outbound = {
    exists: boolean;
};
/** @internal */
export declare const DeploymentStreamOrExists$outboundSchema: z.ZodType<DeploymentStreamOrExists$Outbound, z.ZodTypeDef, DeploymentStreamOrExists>;
export declare function deploymentStreamOrExistsToJSON(deploymentStreamOrExists: DeploymentStreamOrExists): string;
/** @internal */
export type DeploymentStreamOrDeploymentsNin$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentStreamOrDeploymentsNin$outboundSchema: z.ZodType<DeploymentStreamOrDeploymentsNin$Outbound, z.ZodTypeDef, DeploymentStreamOrDeploymentsNin>;
export declare function deploymentStreamOrDeploymentsNinToJSON(deploymentStreamOrDeploymentsNin: DeploymentStreamOrDeploymentsNin): string;
/** @internal */
export type DeploymentStreamOrNin$Outbound = {
    nin: Array<string | number | boolean>;
};
/** @internal */
export declare const DeploymentStreamOrNin$outboundSchema: z.ZodType<DeploymentStreamOrNin$Outbound, z.ZodTypeDef, DeploymentStreamOrNin>;
export declare function deploymentStreamOrNinToJSON(deploymentStreamOrNin: DeploymentStreamOrNin): string;
/** @internal */
export type DeploymentStreamOrDeploymentsIn$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentStreamOrDeploymentsIn$outboundSchema: z.ZodType<DeploymentStreamOrDeploymentsIn$Outbound, z.ZodTypeDef, DeploymentStreamOrDeploymentsIn>;
export declare function deploymentStreamOrDeploymentsInToJSON(deploymentStreamOrDeploymentsIn: DeploymentStreamOrDeploymentsIn): string;
/** @internal */
export type DeploymentStreamOrIn$Outbound = {
    in: Array<string | number | boolean>;
};
/** @internal */
export declare const DeploymentStreamOrIn$outboundSchema: z.ZodType<DeploymentStreamOrIn$Outbound, z.ZodTypeDef, DeploymentStreamOrIn>;
export declare function deploymentStreamOrInToJSON(deploymentStreamOrIn: DeploymentStreamOrIn): string;
/** @internal */
export type DeploymentStreamOrLte$Outbound = {
    lte: number;
};
/** @internal */
export declare const DeploymentStreamOrLte$outboundSchema: z.ZodType<DeploymentStreamOrLte$Outbound, z.ZodTypeDef, DeploymentStreamOrLte>;
export declare function deploymentStreamOrLteToJSON(deploymentStreamOrLte: DeploymentStreamOrLte): string;
/** @internal */
export type DeploymentStreamOrLt$Outbound = {
    lt: number;
};
/** @internal */
export declare const DeploymentStreamOrLt$outboundSchema: z.ZodType<DeploymentStreamOrLt$Outbound, z.ZodTypeDef, DeploymentStreamOrLt>;
export declare function deploymentStreamOrLtToJSON(deploymentStreamOrLt: DeploymentStreamOrLt): string;
/** @internal */
export type DeploymentStreamOrGte$Outbound = {
    gte: number;
};
/** @internal */
export declare const DeploymentStreamOrGte$outboundSchema: z.ZodType<DeploymentStreamOrGte$Outbound, z.ZodTypeDef, DeploymentStreamOrGte>;
export declare function deploymentStreamOrGteToJSON(deploymentStreamOrGte: DeploymentStreamOrGte): string;
/** @internal */
export type DeploymentStreamOrGt$Outbound = {
    gt: number;
};
/** @internal */
export declare const DeploymentStreamOrGt$outboundSchema: z.ZodType<DeploymentStreamOrGt$Outbound, z.ZodTypeDef, DeploymentStreamOrGt>;
export declare function deploymentStreamOrGtToJSON(deploymentStreamOrGt: DeploymentStreamOrGt): string;
/** @internal */
export type DeploymentStreamOrDeploymentsNe$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentStreamOrDeploymentsNe$outboundSchema: z.ZodType<DeploymentStreamOrDeploymentsNe$Outbound, z.ZodTypeDef, DeploymentStreamOrDeploymentsNe>;
export declare function deploymentStreamOrDeploymentsNeToJSON(deploymentStreamOrDeploymentsNe: DeploymentStreamOrDeploymentsNe): string;
/** @internal */
export type DeploymentStreamOrNe$Outbound = {
    ne: string | number | boolean;
};
/** @internal */
export declare const DeploymentStreamOrNe$outboundSchema: z.ZodType<DeploymentStreamOrNe$Outbound, z.ZodTypeDef, DeploymentStreamOrNe>;
export declare function deploymentStreamOrNeToJSON(deploymentStreamOrNe: DeploymentStreamOrNe): string;
/** @internal */
export type DeploymentStreamOrDeploymentsEq$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentStreamOrDeploymentsEq$outboundSchema: z.ZodType<DeploymentStreamOrDeploymentsEq$Outbound, z.ZodTypeDef, DeploymentStreamOrDeploymentsEq>;
export declare function deploymentStreamOrDeploymentsEqToJSON(deploymentStreamOrDeploymentsEq: DeploymentStreamOrDeploymentsEq): string;
/** @internal */
export type DeploymentStreamOrEq$Outbound = {
    eq: string | number | boolean;
};
/** @internal */
export declare const DeploymentStreamOrEq$outboundSchema: z.ZodType<DeploymentStreamOrEq$Outbound, z.ZodTypeDef, DeploymentStreamOrEq>;
export declare function deploymentStreamOrEqToJSON(deploymentStreamOrEq: DeploymentStreamOrEq): string;
/** @internal */
export type DeploymentStreamKnowledgeFilterDeploymentsOr$Outbound = DeploymentStreamOrEq$Outbound | DeploymentStreamOrNe$Outbound | DeploymentStreamOrGt$Outbound | DeploymentStreamOrGte$Outbound | DeploymentStreamOrLt$Outbound | DeploymentStreamOrLte$Outbound | DeploymentStreamOrIn$Outbound | DeploymentStreamOrNin$Outbound | DeploymentStreamOrExists$Outbound;
/** @internal */
export declare const DeploymentStreamKnowledgeFilterDeploymentsOr$outboundSchema: z.ZodType<DeploymentStreamKnowledgeFilterDeploymentsOr$Outbound, z.ZodTypeDef, DeploymentStreamKnowledgeFilterDeploymentsOr>;
export declare function deploymentStreamKnowledgeFilterDeploymentsOrToJSON(deploymentStreamKnowledgeFilterDeploymentsOr: DeploymentStreamKnowledgeFilterDeploymentsOr): string;
/** @internal */
export type DeploymentStreamKnowledgeFilterOr$Outbound = {
    or: Array<{
        [k: string]: DeploymentStreamOrEq$Outbound | DeploymentStreamOrNe$Outbound | DeploymentStreamOrGt$Outbound | DeploymentStreamOrGte$Outbound | DeploymentStreamOrLt$Outbound | DeploymentStreamOrLte$Outbound | DeploymentStreamOrIn$Outbound | DeploymentStreamOrNin$Outbound | DeploymentStreamOrExists$Outbound;
    }>;
};
/** @internal */
export declare const DeploymentStreamKnowledgeFilterOr$outboundSchema: z.ZodType<DeploymentStreamKnowledgeFilterOr$Outbound, z.ZodTypeDef, DeploymentStreamKnowledgeFilterOr>;
export declare function deploymentStreamKnowledgeFilterOrToJSON(deploymentStreamKnowledgeFilterOr: DeploymentStreamKnowledgeFilterOr): string;
/** @internal */
export type DeploymentStreamAndExists$Outbound = {
    exists: boolean;
};
/** @internal */
export declare const DeploymentStreamAndExists$outboundSchema: z.ZodType<DeploymentStreamAndExists$Outbound, z.ZodTypeDef, DeploymentStreamAndExists>;
export declare function deploymentStreamAndExistsToJSON(deploymentStreamAndExists: DeploymentStreamAndExists): string;
/** @internal */
export type DeploymentStreamAndDeploymentsNin$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentStreamAndDeploymentsNin$outboundSchema: z.ZodType<DeploymentStreamAndDeploymentsNin$Outbound, z.ZodTypeDef, DeploymentStreamAndDeploymentsNin>;
export declare function deploymentStreamAndDeploymentsNinToJSON(deploymentStreamAndDeploymentsNin: DeploymentStreamAndDeploymentsNin): string;
/** @internal */
export type DeploymentStreamAndNin$Outbound = {
    nin: Array<string | number | boolean>;
};
/** @internal */
export declare const DeploymentStreamAndNin$outboundSchema: z.ZodType<DeploymentStreamAndNin$Outbound, z.ZodTypeDef, DeploymentStreamAndNin>;
export declare function deploymentStreamAndNinToJSON(deploymentStreamAndNin: DeploymentStreamAndNin): string;
/** @internal */
export type DeploymentStreamAndDeploymentsIn$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentStreamAndDeploymentsIn$outboundSchema: z.ZodType<DeploymentStreamAndDeploymentsIn$Outbound, z.ZodTypeDef, DeploymentStreamAndDeploymentsIn>;
export declare function deploymentStreamAndDeploymentsInToJSON(deploymentStreamAndDeploymentsIn: DeploymentStreamAndDeploymentsIn): string;
/** @internal */
export type DeploymentStreamAndIn$Outbound = {
    in: Array<string | number | boolean>;
};
/** @internal */
export declare const DeploymentStreamAndIn$outboundSchema: z.ZodType<DeploymentStreamAndIn$Outbound, z.ZodTypeDef, DeploymentStreamAndIn>;
export declare function deploymentStreamAndInToJSON(deploymentStreamAndIn: DeploymentStreamAndIn): string;
/** @internal */
export type DeploymentStreamAndLte$Outbound = {
    lte: number;
};
/** @internal */
export declare const DeploymentStreamAndLte$outboundSchema: z.ZodType<DeploymentStreamAndLte$Outbound, z.ZodTypeDef, DeploymentStreamAndLte>;
export declare function deploymentStreamAndLteToJSON(deploymentStreamAndLte: DeploymentStreamAndLte): string;
/** @internal */
export type DeploymentStreamAndLt$Outbound = {
    lt: number;
};
/** @internal */
export declare const DeploymentStreamAndLt$outboundSchema: z.ZodType<DeploymentStreamAndLt$Outbound, z.ZodTypeDef, DeploymentStreamAndLt>;
export declare function deploymentStreamAndLtToJSON(deploymentStreamAndLt: DeploymentStreamAndLt): string;
/** @internal */
export type DeploymentStreamAndGte$Outbound = {
    gte: number;
};
/** @internal */
export declare const DeploymentStreamAndGte$outboundSchema: z.ZodType<DeploymentStreamAndGte$Outbound, z.ZodTypeDef, DeploymentStreamAndGte>;
export declare function deploymentStreamAndGteToJSON(deploymentStreamAndGte: DeploymentStreamAndGte): string;
/** @internal */
export type DeploymentStreamAndGt$Outbound = {
    gt: number;
};
/** @internal */
export declare const DeploymentStreamAndGt$outboundSchema: z.ZodType<DeploymentStreamAndGt$Outbound, z.ZodTypeDef, DeploymentStreamAndGt>;
export declare function deploymentStreamAndGtToJSON(deploymentStreamAndGt: DeploymentStreamAndGt): string;
/** @internal */
export type DeploymentStreamAndDeploymentsNe$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentStreamAndDeploymentsNe$outboundSchema: z.ZodType<DeploymentStreamAndDeploymentsNe$Outbound, z.ZodTypeDef, DeploymentStreamAndDeploymentsNe>;
export declare function deploymentStreamAndDeploymentsNeToJSON(deploymentStreamAndDeploymentsNe: DeploymentStreamAndDeploymentsNe): string;
/** @internal */
export type DeploymentStreamAndNe$Outbound = {
    ne: string | number | boolean;
};
/** @internal */
export declare const DeploymentStreamAndNe$outboundSchema: z.ZodType<DeploymentStreamAndNe$Outbound, z.ZodTypeDef, DeploymentStreamAndNe>;
export declare function deploymentStreamAndNeToJSON(deploymentStreamAndNe: DeploymentStreamAndNe): string;
/** @internal */
export type DeploymentStreamAndDeploymentsEq$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentStreamAndDeploymentsEq$outboundSchema: z.ZodType<DeploymentStreamAndDeploymentsEq$Outbound, z.ZodTypeDef, DeploymentStreamAndDeploymentsEq>;
export declare function deploymentStreamAndDeploymentsEqToJSON(deploymentStreamAndDeploymentsEq: DeploymentStreamAndDeploymentsEq): string;
/** @internal */
export type DeploymentStreamAndEq$Outbound = {
    eq: string | number | boolean;
};
/** @internal */
export declare const DeploymentStreamAndEq$outboundSchema: z.ZodType<DeploymentStreamAndEq$Outbound, z.ZodTypeDef, DeploymentStreamAndEq>;
export declare function deploymentStreamAndEqToJSON(deploymentStreamAndEq: DeploymentStreamAndEq): string;
/** @internal */
export type DeploymentStreamKnowledgeFilterDeploymentsAnd$Outbound = DeploymentStreamAndEq$Outbound | DeploymentStreamAndNe$Outbound | DeploymentStreamAndGt$Outbound | DeploymentStreamAndGte$Outbound | DeploymentStreamAndLt$Outbound | DeploymentStreamAndLte$Outbound | DeploymentStreamAndIn$Outbound | DeploymentStreamAndNin$Outbound | DeploymentStreamAndExists$Outbound;
/** @internal */
export declare const DeploymentStreamKnowledgeFilterDeploymentsAnd$outboundSchema: z.ZodType<DeploymentStreamKnowledgeFilterDeploymentsAnd$Outbound, z.ZodTypeDef, DeploymentStreamKnowledgeFilterDeploymentsAnd>;
export declare function deploymentStreamKnowledgeFilterDeploymentsAndToJSON(deploymentStreamKnowledgeFilterDeploymentsAnd: DeploymentStreamKnowledgeFilterDeploymentsAnd): string;
/** @internal */
export type DeploymentStreamKnowledgeFilterAnd$Outbound = {
    and: Array<{
        [k: string]: DeploymentStreamAndEq$Outbound | DeploymentStreamAndNe$Outbound | DeploymentStreamAndGt$Outbound | DeploymentStreamAndGte$Outbound | DeploymentStreamAndLt$Outbound | DeploymentStreamAndLte$Outbound | DeploymentStreamAndIn$Outbound | DeploymentStreamAndNin$Outbound | DeploymentStreamAndExists$Outbound;
    }>;
};
/** @internal */
export declare const DeploymentStreamKnowledgeFilterAnd$outboundSchema: z.ZodType<DeploymentStreamKnowledgeFilterAnd$Outbound, z.ZodTypeDef, DeploymentStreamKnowledgeFilterAnd>;
export declare function deploymentStreamKnowledgeFilterAndToJSON(deploymentStreamKnowledgeFilterAnd: DeploymentStreamKnowledgeFilterAnd): string;
/** @internal */
export type OneExists$Outbound = {
    exists: boolean;
};
/** @internal */
export declare const OneExists$outboundSchema: z.ZodType<OneExists$Outbound, z.ZodTypeDef, OneExists>;
export declare function oneExistsToJSON(oneExists: OneExists): string;
/** @internal */
export type DeploymentStream1DeploymentsNin$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentStream1DeploymentsNin$outboundSchema: z.ZodType<DeploymentStream1DeploymentsNin$Outbound, z.ZodTypeDef, DeploymentStream1DeploymentsNin>;
export declare function deploymentStream1DeploymentsNinToJSON(deploymentStream1DeploymentsNin: DeploymentStream1DeploymentsNin): string;
/** @internal */
export type DeploymentStream1Nin$Outbound = {
    nin: Array<string | number | boolean>;
};
/** @internal */
export declare const DeploymentStream1Nin$outboundSchema: z.ZodType<DeploymentStream1Nin$Outbound, z.ZodTypeDef, DeploymentStream1Nin>;
export declare function deploymentStream1NinToJSON(deploymentStream1Nin: DeploymentStream1Nin): string;
/** @internal */
export type DeploymentStream1DeploymentsIn$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentStream1DeploymentsIn$outboundSchema: z.ZodType<DeploymentStream1DeploymentsIn$Outbound, z.ZodTypeDef, DeploymentStream1DeploymentsIn>;
export declare function deploymentStream1DeploymentsInToJSON(deploymentStream1DeploymentsIn: DeploymentStream1DeploymentsIn): string;
/** @internal */
export type DeploymentStream1In$Outbound = {
    in: Array<string | number | boolean>;
};
/** @internal */
export declare const DeploymentStream1In$outboundSchema: z.ZodType<DeploymentStream1In$Outbound, z.ZodTypeDef, DeploymentStream1In>;
export declare function deploymentStream1InToJSON(deploymentStream1In: DeploymentStream1In): string;
/** @internal */
export type OneLte$Outbound = {
    lte: number;
};
/** @internal */
export declare const OneLte$outboundSchema: z.ZodType<OneLte$Outbound, z.ZodTypeDef, OneLte>;
export declare function oneLteToJSON(oneLte: OneLte): string;
/** @internal */
export type OneLt$Outbound = {
    lt: number;
};
/** @internal */
export declare const OneLt$outboundSchema: z.ZodType<OneLt$Outbound, z.ZodTypeDef, OneLt>;
export declare function oneLtToJSON(oneLt: OneLt): string;
/** @internal */
export type OneGte$Outbound = {
    gte: number;
};
/** @internal */
export declare const OneGte$outboundSchema: z.ZodType<OneGte$Outbound, z.ZodTypeDef, OneGte>;
export declare function oneGteToJSON(oneGte: OneGte): string;
/** @internal */
export type OneGt$Outbound = {
    gt: number;
};
/** @internal */
export declare const OneGt$outboundSchema: z.ZodType<OneGt$Outbound, z.ZodTypeDef, OneGt>;
export declare function oneGtToJSON(oneGt: OneGt): string;
/** @internal */
export type DeploymentStream1DeploymentsNe$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentStream1DeploymentsNe$outboundSchema: z.ZodType<DeploymentStream1DeploymentsNe$Outbound, z.ZodTypeDef, DeploymentStream1DeploymentsNe>;
export declare function deploymentStream1DeploymentsNeToJSON(deploymentStream1DeploymentsNe: DeploymentStream1DeploymentsNe): string;
/** @internal */
export type DeploymentStream1Ne$Outbound = {
    ne: string | number | boolean;
};
/** @internal */
export declare const DeploymentStream1Ne$outboundSchema: z.ZodType<DeploymentStream1Ne$Outbound, z.ZodTypeDef, DeploymentStream1Ne>;
export declare function deploymentStream1NeToJSON(deploymentStream1Ne: DeploymentStream1Ne): string;
/** @internal */
export type DeploymentStream1DeploymentsEq$Outbound = string | number | boolean;
/** @internal */
export declare const DeploymentStream1DeploymentsEq$outboundSchema: z.ZodType<DeploymentStream1DeploymentsEq$Outbound, z.ZodTypeDef, DeploymentStream1DeploymentsEq>;
export declare function deploymentStream1DeploymentsEqToJSON(deploymentStream1DeploymentsEq: DeploymentStream1DeploymentsEq): string;
/** @internal */
export type DeploymentStream1Eq$Outbound = {
    eq: string | number | boolean;
};
/** @internal */
export declare const DeploymentStream1Eq$outboundSchema: z.ZodType<DeploymentStream1Eq$Outbound, z.ZodTypeDef, DeploymentStream1Eq>;
export declare function deploymentStream1EqToJSON(deploymentStream1Eq: DeploymentStream1Eq): string;
/** @internal */
export type DeploymentStreamKnowledgeFilter1$Outbound = DeploymentStream1Eq$Outbound | DeploymentStream1Ne$Outbound | OneGt$Outbound | OneGte$Outbound | OneLt$Outbound | OneLte$Outbound | DeploymentStream1In$Outbound | DeploymentStream1Nin$Outbound | OneExists$Outbound;
/** @internal */
export declare const DeploymentStreamKnowledgeFilter1$outboundSchema: z.ZodType<DeploymentStreamKnowledgeFilter1$Outbound, z.ZodTypeDef, DeploymentStreamKnowledgeFilter1>;
export declare function deploymentStreamKnowledgeFilter1ToJSON(deploymentStreamKnowledgeFilter1: DeploymentStreamKnowledgeFilter1): string;
/** @internal */
export type DeploymentStreamKnowledgeFilter$Outbound = DeploymentStreamKnowledgeFilterAnd$Outbound | DeploymentStreamKnowledgeFilterOr$Outbound | {
    [k: string]: DeploymentStream1Eq$Outbound | DeploymentStream1Ne$Outbound | OneGt$Outbound | OneGte$Outbound | OneLt$Outbound | OneLte$Outbound | DeploymentStream1In$Outbound | DeploymentStream1Nin$Outbound | OneExists$Outbound;
};
/** @internal */
export declare const DeploymentStreamKnowledgeFilter$outboundSchema: z.ZodType<DeploymentStreamKnowledgeFilter$Outbound, z.ZodTypeDef, DeploymentStreamKnowledgeFilter>;
export declare function deploymentStreamKnowledgeFilterToJSON(deploymentStreamKnowledgeFilter: DeploymentStreamKnowledgeFilter): string;
/** @internal */
export type DeploymentStreamRequestBody$Outbound = {
    key: string;
    inputs?: {
        [k: string]: any;
    } | undefined;
    context?: {
        [k: string]: any;
    } | undefined;
    prefix_messages?: Array<PrefixMessagesSystemMessage$Outbound | PrefixMessagesDeveloperMessage$Outbound | PrefixMessagesUserMessage$Outbound | PrefixMessagesAssistantMessage$Outbound | PrefixMessagesToolMessage$Outbound> | undefined;
    messages?: Array<DeploymentStreamMessagesSystemMessage$Outbound | DeploymentStreamMessagesDeveloperMessage$Outbound | DeploymentStreamMessagesUserMessage$Outbound | DeploymentStreamMessagesAssistantMessage$Outbound | DeploymentStreamMessagesToolMessage$Outbound> | undefined;
    identity?: components.PublicIdentity$Outbound | undefined;
    file_ids?: Array<string> | undefined;
    metadata?: {
        [k: string]: any;
    } | undefined;
    extra_params?: {
        [k: string]: any;
    } | undefined;
    documents?: Array<DeploymentStreamDocuments$Outbound> | undefined;
    invoke_options?: DeploymentStreamInvokeOptions$Outbound | undefined;
    thread?: DeploymentStreamThread$Outbound | undefined;
    knowledge_filter?: DeploymentStreamKnowledgeFilterAnd$Outbound | DeploymentStreamKnowledgeFilterOr$Outbound | {
        [k: string]: DeploymentStream1Eq$Outbound | DeploymentStream1Ne$Outbound | OneGt$Outbound | OneGte$Outbound | OneLt$Outbound | OneLte$Outbound | DeploymentStream1In$Outbound | DeploymentStream1Nin$Outbound | OneExists$Outbound;
    } | undefined;
};
/** @internal */
export declare const DeploymentStreamRequestBody$outboundSchema: z.ZodType<DeploymentStreamRequestBody$Outbound, z.ZodTypeDef, DeploymentStreamRequestBody>;
export declare function deploymentStreamRequestBodyToJSON(deploymentStreamRequestBody: DeploymentStreamRequestBody): string;
/** @internal */
export declare const DeploymentStreamObject$inboundSchema: z.ZodNativeEnum<typeof DeploymentStreamObject>;
/** @internal */
export declare const DeploymentStreamProvider$inboundSchema: z.ZodNativeEnum<typeof DeploymentStreamProvider>;
/** @internal */
export declare const DeploymentStreamDeploymentsMetadata$inboundSchema: z.ZodType<DeploymentStreamDeploymentsMetadata, z.ZodTypeDef, unknown>;
export declare function deploymentStreamDeploymentsMetadataFromJSON(jsonString: string): SafeParseResult<DeploymentStreamDeploymentsMetadata, SDKValidationError>;
/** @internal */
export declare const DeploymentStreamRetrievals$inboundSchema: z.ZodType<DeploymentStreamRetrievals, z.ZodTypeDef, unknown>;
export declare function deploymentStreamRetrievalsFromJSON(jsonString: string): SafeParseResult<DeploymentStreamRetrievals, SDKValidationError>;
/** @internal */
export declare const DeploymentStreamPromptTokensDetails$inboundSchema: z.ZodType<DeploymentStreamPromptTokensDetails, z.ZodTypeDef, unknown>;
export declare function deploymentStreamPromptTokensDetailsFromJSON(jsonString: string): SafeParseResult<DeploymentStreamPromptTokensDetails, SDKValidationError>;
/** @internal */
export declare const DeploymentStreamCompletionTokensDetails$inboundSchema: z.ZodType<DeploymentStreamCompletionTokensDetails, z.ZodTypeDef, unknown>;
export declare function deploymentStreamCompletionTokensDetailsFromJSON(jsonString: string): SafeParseResult<DeploymentStreamCompletionTokensDetails, SDKValidationError>;
/** @internal */
export declare const DeploymentStreamUsage$inboundSchema: z.ZodType<DeploymentStreamUsage, z.ZodTypeDef, unknown>;
export declare function deploymentStreamUsageFromJSON(jsonString: string): SafeParseResult<DeploymentStreamUsage, SDKValidationError>;
/** @internal */
export declare const DeploymentStreamMessageDeploymentsResponseRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentStreamMessageDeploymentsResponseRole>;
/** @internal */
export declare const DeploymentStreamMessage3$inboundSchema: z.ZodType<DeploymentStreamMessage3, z.ZodTypeDef, unknown>;
export declare function deploymentStreamMessage3FromJSON(jsonString: string): SafeParseResult<DeploymentStreamMessage3, SDKValidationError>;
/** @internal */
export declare const DeploymentStreamMessageDeploymentsRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentStreamMessageDeploymentsRole>;
/** @internal */
export declare const DeploymentStreamMessage2$inboundSchema: z.ZodType<DeploymentStreamMessage2, z.ZodTypeDef, unknown>;
export declare function deploymentStreamMessage2FromJSON(jsonString: string): SafeParseResult<DeploymentStreamMessage2, SDKValidationError>;
/** @internal */
export declare const DeploymentStreamMessageRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentStreamMessageRole>;
/** @internal */
export declare const DeploymentStreamMessageDeploymentsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentStreamMessageDeploymentsResponse200Type>;
/** @internal */
export declare const DeploymentStreamMessageFunction$inboundSchema: z.ZodType<DeploymentStreamMessageFunction, z.ZodTypeDef, unknown>;
export declare function deploymentStreamMessageFunctionFromJSON(jsonString: string): SafeParseResult<DeploymentStreamMessageFunction, SDKValidationError>;
/** @internal */
export declare const DeploymentStreamMessageToolCalls$inboundSchema: z.ZodType<DeploymentStreamMessageToolCalls, z.ZodTypeDef, unknown>;
export declare function deploymentStreamMessageToolCallsFromJSON(jsonString: string): SafeParseResult<DeploymentStreamMessageToolCalls, SDKValidationError>;
/** @internal */
export declare const DeploymentStreamMessage1$inboundSchema: z.ZodType<DeploymentStreamMessage1, z.ZodTypeDef, unknown>;
export declare function deploymentStreamMessage1FromJSON(jsonString: string): SafeParseResult<DeploymentStreamMessage1, SDKValidationError>;
/** @internal */
export declare const DeploymentStreamMessage$inboundSchema: z.ZodType<DeploymentStreamMessage, z.ZodTypeDef, unknown>;
export declare function deploymentStreamMessageFromJSON(jsonString: string): SafeParseResult<DeploymentStreamMessage, SDKValidationError>;
/** @internal */
export declare const DeploymentStreamChoices$inboundSchema: z.ZodType<DeploymentStreamChoices, z.ZodTypeDef, unknown>;
export declare function deploymentStreamChoicesFromJSON(jsonString: string): SafeParseResult<DeploymentStreamChoices, SDKValidationError>;
/** @internal */
export declare const DeploymentStreamData$inboundSchema: z.ZodType<DeploymentStreamData, z.ZodTypeDef, unknown>;
export declare function deploymentStreamDataFromJSON(jsonString: string): SafeParseResult<DeploymentStreamData, SDKValidationError>;
/** @internal */
export declare const DeploymentStreamResponseBody$inboundSchema: z.ZodType<DeploymentStreamResponseBody, z.ZodTypeDef, unknown>;
export declare function deploymentStreamResponseBodyFromJSON(jsonString: string): SafeParseResult<DeploymentStreamResponseBody, SDKValidationError>;
//# sourceMappingURL=deploymentstream.d.ts.map