import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { DownloadHeadersApiModel, DownloadHeadersApiModel$Outbound } from "./downloadheadersapimodel.js";
export type DownloadApiModel = {
    /**
     * The file data in binary format
     */
    data: Uint8Array | string;
    /**
     * Headers related to the download
     */
    headers: DownloadHeadersApiModel;
};
/** @internal */
export declare const DownloadApiModel$inboundSchema: z.ZodType<DownloadApiModel, z.ZodTypeDef, unknown>;
/** @internal */
export type DownloadApiModel$Outbound = {
    data: Uint8Array;
    headers: DownloadHeadersApiModel$Outbound;
};
/** @internal */
export declare const DownloadApiModel$outboundSchema: z.ZodType<DownloadApiModel$Outbound, z.ZodTypeDef, DownloadApiModel>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace DownloadApiModel$ {
    /** @deprecated use `DownloadApiModel$inboundSchema` instead. */
    const inboundSchema: z.ZodType<DownloadApiModel, z.ZodTypeDef, unknown>;
    /** @deprecated use `DownloadApiModel$outboundSchema` instead. */
    const outboundSchema: z.ZodType<DownloadApiModel$Outbound, z.ZodTypeDef, DownloadApiModel>;
    /** @deprecated use `DownloadApiModel$Outbound` instead. */
    type Outbound = DownloadApiModel$Outbound;
}
export declare function downloadApiModelToJSON(downloadApiModel: DownloadApiModel): string;
export declare function downloadApiModelFromJSON(jsonString: string): SafeParseResult<DownloadApiModel, SDKValidationError>;
//# sourceMappingURL=downloadapimodel.d.ts.map