import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type DocumentsDownloadFileRequest = {
    /**
     * The export format of the file
     */
    exportFormat?: string | null | undefined;
    /**
     * The format to download the file in
     */
    format?: string | null | undefined;
    id: string;
    /**
     * The account identifier
     */
    xAccountId: string;
    /**
     * The session token
     */
    xStackoneApiSessionToken?: string | undefined;
};
export type DocumentsDownloadFileResponse = {
    /**
     * 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 file with the given identifiers was retrieved.
     */
    responseStream?: ReadableStream<Uint8Array> | undefined;
};
/** @internal */
export declare const DocumentsDownloadFileRequest$inboundSchema: z.ZodType<DocumentsDownloadFileRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type DocumentsDownloadFileRequest$Outbound = {
    export_format?: string | null | undefined;
    format?: string | null | undefined;
    id: string;
    "x-account-id": string;
    "x-stackone-api-session-token"?: string | undefined;
};
/** @internal */
export declare const DocumentsDownloadFileRequest$outboundSchema: z.ZodType<DocumentsDownloadFileRequest$Outbound, z.ZodTypeDef, DocumentsDownloadFileRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace DocumentsDownloadFileRequest$ {
    /** @deprecated use `DocumentsDownloadFileRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<DocumentsDownloadFileRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `DocumentsDownloadFileRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<DocumentsDownloadFileRequest$Outbound, z.ZodTypeDef, DocumentsDownloadFileRequest>;
    /** @deprecated use `DocumentsDownloadFileRequest$Outbound` instead. */
    type Outbound = DocumentsDownloadFileRequest$Outbound;
}
export declare function documentsDownloadFileRequestToJSON(documentsDownloadFileRequest: DocumentsDownloadFileRequest): string;
export declare function documentsDownloadFileRequestFromJSON(jsonString: string): SafeParseResult<DocumentsDownloadFileRequest, SDKValidationError>;
/** @internal */
export declare const DocumentsDownloadFileResponse$inboundSchema: z.ZodType<DocumentsDownloadFileResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type DocumentsDownloadFileResponse$Outbound = {
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
    "response-stream"?: ReadableStream<Uint8Array> | undefined;
};
/** @internal */
export declare const DocumentsDownloadFileResponse$outboundSchema: z.ZodType<DocumentsDownloadFileResponse$Outbound, z.ZodTypeDef, DocumentsDownloadFileResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace DocumentsDownloadFileResponse$ {
    /** @deprecated use `DocumentsDownloadFileResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<DocumentsDownloadFileResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `DocumentsDownloadFileResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<DocumentsDownloadFileResponse$Outbound, z.ZodTypeDef, DocumentsDownloadFileResponse>;
    /** @deprecated use `DocumentsDownloadFileResponse$Outbound` instead. */
    type Outbound = DocumentsDownloadFileResponse$Outbound;
}
export declare function documentsDownloadFileResponseToJSON(documentsDownloadFileResponse: DocumentsDownloadFileResponse): string;
export declare function documentsDownloadFileResponseFromJSON(jsonString: string): SafeParseResult<DocumentsDownloadFileResponse, SDKValidationError>;
//# sourceMappingURL=documentsdownloadfile.d.ts.map