/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 7ba185bfa919
 */
import * as z from "zod/v4";
/** @internal */
export const FileT$outboundSchema = z.object({
    fileName: z.string(),
    content: z.union([
        z.custom(x => x instanceof ReadableStream),
        z.custom(x => x instanceof Blob),
        z.custom(x => x instanceof ArrayBuffer),
        z.custom(x => x instanceof Uint8Array),
    ]),
});
export function fileToJSON(fileT) {
    return JSON.stringify(FileT$outboundSchema.parse(fileT));
}
//# sourceMappingURL=file.js.map