import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type AtsDownloadApplicationDocumentRequest = {
    /**
     * The format to download the file in
     */
    format?: string | null | undefined;
    id: string;
    subResourceId: string;
    /**
     * The account identifier
     */
    xAccountId: string;
};
export type AtsDownloadApplicationDocumentResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
    /**
     * The document related to the application with the given identifiers was retrieved.
     */
    responseStream?: ReadableStream<Uint8Array> | undefined;
};
/** @internal */
export declare const AtsDownloadApplicationDocumentRequest$inboundSchema: z.ZodType<AtsDownloadApplicationDocumentRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsDownloadApplicationDocumentRequest$Outbound = {
    format?: string | null | undefined;
    id: string;
    subResourceId: string;
    "x-account-id": string;
};
/** @internal */
export declare const AtsDownloadApplicationDocumentRequest$outboundSchema: z.ZodType<AtsDownloadApplicationDocumentRequest$Outbound, z.ZodTypeDef, AtsDownloadApplicationDocumentRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsDownloadApplicationDocumentRequest$ {
    /** @deprecated use `AtsDownloadApplicationDocumentRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsDownloadApplicationDocumentRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsDownloadApplicationDocumentRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsDownloadApplicationDocumentRequest$Outbound, z.ZodTypeDef, AtsDownloadApplicationDocumentRequest>;
    /** @deprecated use `AtsDownloadApplicationDocumentRequest$Outbound` instead. */
    type Outbound = AtsDownloadApplicationDocumentRequest$Outbound;
}
export declare function atsDownloadApplicationDocumentRequestToJSON(atsDownloadApplicationDocumentRequest: AtsDownloadApplicationDocumentRequest): string;
export declare function atsDownloadApplicationDocumentRequestFromJSON(jsonString: string): SafeParseResult<AtsDownloadApplicationDocumentRequest, SDKValidationError>;
/** @internal */
export declare const AtsDownloadApplicationDocumentResponse$inboundSchema: z.ZodType<AtsDownloadApplicationDocumentResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsDownloadApplicationDocumentResponse$Outbound = {
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
    "response-stream"?: ReadableStream<Uint8Array> | undefined;
};
/** @internal */
export declare const AtsDownloadApplicationDocumentResponse$outboundSchema: z.ZodType<AtsDownloadApplicationDocumentResponse$Outbound, z.ZodTypeDef, AtsDownloadApplicationDocumentResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsDownloadApplicationDocumentResponse$ {
    /** @deprecated use `AtsDownloadApplicationDocumentResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsDownloadApplicationDocumentResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsDownloadApplicationDocumentResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsDownloadApplicationDocumentResponse$Outbound, z.ZodTypeDef, AtsDownloadApplicationDocumentResponse>;
    /** @deprecated use `AtsDownloadApplicationDocumentResponse$Outbound` instead. */
    type Outbound = AtsDownloadApplicationDocumentResponse$Outbound;
}
export declare function atsDownloadApplicationDocumentResponseToJSON(atsDownloadApplicationDocumentResponse: AtsDownloadApplicationDocumentResponse): string;
export declare function atsDownloadApplicationDocumentResponseFromJSON(jsonString: string): SafeParseResult<AtsDownloadApplicationDocumentResponse, SDKValidationError>;
//# sourceMappingURL=atsdownloadapplicationdocument.d.ts.map