export declare const anthropicMessagePartToOpenAI: import("zod").ZodPipe<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
    type: import("zod").ZodLiteral<"text">;
    text: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    type: import("zod").ZodLiteral<"image">;
    source: import("zod").ZodObject<{
        data: import("zod").ZodString;
        media_type: import("zod").ZodEnum<{
            "image/jpeg": "image/jpeg";
            "image/png": "image/png";
            "image/gif": "image/gif";
            "image/webp": "image/webp";
        }>;
        type: import("zod").ZodLiteral<"base64">;
    }, import("zod/v4/core").$strip>;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    id: import("zod").ZodString;
    type: import("zod").ZodLiteral<"tool_use">;
    name: import("zod").ZodString;
    input: import("zod").ZodType<import("../../jsonLiteralSchema").JSONLiteral, unknown, import("zod/v4/core").$ZodTypeInternals<import("../../jsonLiteralSchema").JSONLiteral, unknown>>;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    type: import("zod").ZodLiteral<"tool_result">;
    tool_use_id: import("zod").ZodString;
    content: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
        type: import("zod").ZodLiteral<"text">;
        text: import("zod").ZodString;
    }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
        type: import("zod").ZodLiteral<"image">;
        source: import("zod").ZodObject<{
            data: import("zod").ZodString;
            media_type: import("zod").ZodEnum<{
                "image/jpeg": "image/jpeg";
                "image/png": "image/png";
                "image/gif": "image/gif";
                "image/webp": "image/webp";
            }>;
            type: import("zod").ZodLiteral<"base64">;
        }, import("zod/v4/core").$strip>;
    }, import("zod/v4/core").$strip>]>>]>;
    is_error: import("zod").ZodOptional<import("zod").ZodBoolean>;
}, import("zod/v4/core").$strip>], "type">, import("zod").ZodTransform<{
    type: "text";
    text: string;
} | {
    type: "image_url";
    image_url: {
        url: string;
    };
} | null, {
    id: string;
    type: "tool_use";
    name: string;
    input: import("../../jsonLiteralSchema").JSONLiteral;
} | {
    type: "text";
    text: string;
} | {
    type: "image";
    source: {
        data: string;
        media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
        type: "base64";
    };
} | {
    type: "tool_result";
    tool_use_id: string;
    content: string | ({
        type: "text";
        text: string;
    } | {
        type: "image";
        source: {
            data: string;
            media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
            type: "base64";
        };
    })[];
    is_error?: boolean | undefined;
}>>;
/**
 * Spoke → Hub: Convert an Anthropic message to OpenAI format
 */
export declare const anthropicMessageToOpenAI: import("zod").ZodPipe<import("zod").ZodObject<{
    role: import("zod").ZodEnum<{
        user: "user";
        assistant: "assistant";
    }>;
    content: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
        type: import("zod").ZodLiteral<"text">;
        text: import("zod").ZodString;
    }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
        type: import("zod").ZodLiteral<"image">;
        source: import("zod").ZodObject<{
            data: import("zod").ZodString;
            media_type: import("zod").ZodEnum<{
                "image/jpeg": "image/jpeg";
                "image/png": "image/png";
                "image/gif": "image/gif";
                "image/webp": "image/webp";
            }>;
            type: import("zod").ZodLiteral<"base64">;
        }, import("zod/v4/core").$strip>;
    }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
        id: import("zod").ZodString;
        type: import("zod").ZodLiteral<"tool_use">;
        name: import("zod").ZodString;
        input: import("zod").ZodType<import("../../jsonLiteralSchema").JSONLiteral, unknown, import("zod/v4/core").$ZodTypeInternals<import("../../jsonLiteralSchema").JSONLiteral, unknown>>;
    }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
        type: import("zod").ZodLiteral<"tool_result">;
        tool_use_id: import("zod").ZodString;
        content: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
            type: import("zod").ZodLiteral<"text">;
            text: import("zod").ZodString;
        }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
            type: import("zod").ZodLiteral<"image">;
            source: import("zod").ZodObject<{
                data: import("zod").ZodString;
                media_type: import("zod").ZodEnum<{
                    "image/jpeg": "image/jpeg";
                    "image/png": "image/png";
                    "image/gif": "image/gif";
                    "image/webp": "image/webp";
                }>;
                type: import("zod").ZodLiteral<"base64">;
            }, import("zod/v4/core").$strip>;
        }, import("zod/v4/core").$strip>]>>]>;
        is_error: import("zod").ZodOptional<import("zod").ZodBoolean>;
    }, import("zod/v4/core").$strip>], "type">>]>;
}, import("zod/v4/core").$loose>, import("zod").ZodTransform<{
    [x: string]: unknown;
    role: "assistant";
    content: string | {
        type: "text";
        text: string;
    }[];
    name?: string | undefined;
    tool_call_id?: string | undefined;
    tool_calls?: {
        type: "function";
        id: string;
        function: {
            [x: string]: unknown;
            name: string;
            arguments: string;
        };
    }[] | undefined;
} | {
    [x: string]: unknown;
    role: "tool";
    content: string | {
        type: "text";
        text: string;
    }[];
    tool_call_id: string;
} | {
    [x: string]: unknown;
    role: "function";
    content: string | null;
    name: string;
} | {
    [x: string]: unknown;
    role: "user";
    content: string | ({
        type: "text";
        text: string;
    } | {
        type: "image_url";
        image_url: {
            url: string;
        };
    })[];
    name?: string | undefined;
} | {
    [x: string]: unknown;
    role: "system";
    content: string | {
        type: "text";
        text: string;
    }[];
    name?: string | undefined;
} | {
    [x: string]: unknown;
    role: "developer";
    content: string | {
        type: "text";
        text: string;
    }[];
    name?: string | undefined;
}, {
    [x: string]: unknown;
    role: "user" | "assistant";
    content: string | ({
        id: string;
        type: "tool_use";
        name: string;
        input: import("../../jsonLiteralSchema").JSONLiteral;
    } | {
        type: "text";
        text: string;
    } | {
        type: "image";
        source: {
            data: string;
            media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
            type: "base64";
        };
    } | {
        type: "tool_result";
        tool_use_id: string;
        content: string | ({
            type: "text";
            text: string;
        } | {
            type: "image";
            source: {
                data: string;
                media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
                type: "base64";
            };
        })[];
        is_error?: boolean | undefined;
    })[];
}>>;
/**
 * Parse incoming object as an Anthropic tool call and immediately convert to OpenAI format
 */
export declare const anthropicToolCallToOpenAI: import("zod").ZodPipe<import("zod").ZodObject<{
    id: import("zod").ZodString;
    type: import("zod").ZodLiteral<"tool_use">;
    name: import("zod").ZodString;
    input: import("zod").ZodType<import("../../jsonLiteralSchema").JSONLiteral, unknown, import("zod/v4/core").$ZodTypeInternals<import("../../jsonLiteralSchema").JSONLiteral, unknown>>;
}, import("zod/v4/core").$strip>, import("zod").ZodTransform<{
    type: "function";
    id: string;
    function: {
        [x: string]: unknown;
        name: string;
        arguments: string;
    };
}, {
    id: string;
    type: "tool_use";
    name: string;
    input: import("../../jsonLiteralSchema").JSONLiteral;
}>>;
/**
 * Parse incoming object as an Anthropic tool choice and immediately convert to OpenAI format
 */
export declare const anthropicToolChoiceToOpenAI: import("zod").ZodPipe<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
    type: import("zod").ZodLiteral<"tool">;
    name: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    type: import("zod").ZodLiteral<"auto">;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    type: import("zod").ZodLiteral<"any">;
}, import("zod/v4/core").$strip>], "type">, import("zod").ZodTransform<"none" | "auto" | "required" | {
    type: "function";
    function: {
        name: string;
    };
}, {
    type: "tool";
    name: string;
} | {
    type: "auto";
} | {
    type: "any";
}>>;
/**
 * Parse incoming object as an Anthropic tool call and immediately convert to OpenAI format
 */
export declare const anthropicToolDefinitionToOpenAI: import("zod").ZodPipe<import("zod").ZodObject<{
    name: import("zod").ZodString;
    description: import("zod").ZodString;
    input_schema: import("zod").ZodObject<{
        type: import("zod").ZodLiteral<"object">;
        properties: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
            type: import("zod").ZodEnum<{
                string: "string";
                number: "number";
                boolean: "boolean";
                object: "object";
                null: "null";
                array: "array";
                integer: "integer";
            }>;
            description: import("zod").ZodOptional<import("zod").ZodString>;
            enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        }, import("zod/v4/core").$loose>, import("zod").ZodObject<{
            anyOf: import("zod").ZodArray<import("zod").ZodObject<{
                type: import("zod").ZodEnum<{
                    string: "string";
                    number: "number";
                    boolean: "boolean";
                    object: "object";
                    null: "null";
                    array: "array";
                    integer: "integer";
                }>;
                description: import("zod").ZodOptional<import("zod").ZodString>;
                enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
            }, import("zod/v4/core").$loose>>;
        }, import("zod/v4/core").$strip>]>>;
        required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        additionalProperties: import("zod").ZodOptional<import("zod").ZodBoolean>;
    }, import("zod/v4/core").$loose>;
}, import("zod/v4/core").$strip>, import("zod").ZodTransform<{
    [x: string]: unknown;
    type: "function";
    function: {
        [x: string]: unknown;
        name: string;
        parameters: {
            [x: string]: unknown;
            type: "object";
            properties: Record<string, {
                [x: string]: unknown;
                type: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer";
                description?: string | undefined;
                enum?: string[] | undefined;
            } | {
                anyOf: {
                    [x: string]: unknown;
                    type: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer";
                    description?: string | undefined;
                    enum?: string[] | undefined;
                }[];
            }>;
            required?: string[] | undefined;
            additionalProperties?: boolean | undefined;
            strict?: boolean | undefined;
        };
        description?: string | undefined;
    };
}, {
    name: string;
    description: string;
    input_schema: {
        [x: string]: unknown;
        type: "object";
        properties: Record<string, {
            [x: string]: unknown;
            type: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer";
            description?: string | undefined;
            enum?: string[] | undefined;
        } | {
            anyOf: {
                [x: string]: unknown;
                type: "string" | "number" | "boolean" | "object" | "null" | "array" | "integer";
                description?: string | undefined;
                enum?: string[] | undefined;
            }[];
        }>;
        required?: string[] | undefined;
        additionalProperties?: boolean | undefined;
    };
}>>;
//# sourceMappingURL=converters.d.ts.map