import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type MessagingDownloadMessagingAttachmentRequest = {
    /**
     * The export format of the file
     */
    exportFormat?: string | null | undefined;
    /**
     * The format to download the file in
     */
    format?: string | null | undefined;
    id: string;
    subResourceId: string;
    /**
     * The account identifier
     */
    xAccountId: string;
};
export type MessagingDownloadMessagingAttachmentResponse = {
    body?: Uint8Array | string | undefined;
    /**
     * 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;
};
/** @internal */
export declare const MessagingDownloadMessagingAttachmentRequest$inboundSchema: z.ZodType<MessagingDownloadMessagingAttachmentRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type MessagingDownloadMessagingAttachmentRequest$Outbound = {
    export_format?: string | null | undefined;
    format?: string | null | undefined;
    id: string;
    subResourceId: string;
    "x-account-id": string;
};
/** @internal */
export declare const MessagingDownloadMessagingAttachmentRequest$outboundSchema: z.ZodType<MessagingDownloadMessagingAttachmentRequest$Outbound, z.ZodTypeDef, MessagingDownloadMessagingAttachmentRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MessagingDownloadMessagingAttachmentRequest$ {
    /** @deprecated use `MessagingDownloadMessagingAttachmentRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MessagingDownloadMessagingAttachmentRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `MessagingDownloadMessagingAttachmentRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MessagingDownloadMessagingAttachmentRequest$Outbound, z.ZodTypeDef, MessagingDownloadMessagingAttachmentRequest>;
    /** @deprecated use `MessagingDownloadMessagingAttachmentRequest$Outbound` instead. */
    type Outbound = MessagingDownloadMessagingAttachmentRequest$Outbound;
}
export declare function messagingDownloadMessagingAttachmentRequestToJSON(messagingDownloadMessagingAttachmentRequest: MessagingDownloadMessagingAttachmentRequest): string;
export declare function messagingDownloadMessagingAttachmentRequestFromJSON(jsonString: string): SafeParseResult<MessagingDownloadMessagingAttachmentRequest, SDKValidationError>;
/** @internal */
export declare const MessagingDownloadMessagingAttachmentResponse$inboundSchema: z.ZodType<MessagingDownloadMessagingAttachmentResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type MessagingDownloadMessagingAttachmentResponse$Outbound = {
    Body?: Uint8Array | undefined;
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const MessagingDownloadMessagingAttachmentResponse$outboundSchema: z.ZodType<MessagingDownloadMessagingAttachmentResponse$Outbound, z.ZodTypeDef, MessagingDownloadMessagingAttachmentResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MessagingDownloadMessagingAttachmentResponse$ {
    /** @deprecated use `MessagingDownloadMessagingAttachmentResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MessagingDownloadMessagingAttachmentResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `MessagingDownloadMessagingAttachmentResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MessagingDownloadMessagingAttachmentResponse$Outbound, z.ZodTypeDef, MessagingDownloadMessagingAttachmentResponse>;
    /** @deprecated use `MessagingDownloadMessagingAttachmentResponse$Outbound` instead. */
    type Outbound = MessagingDownloadMessagingAttachmentResponse$Outbound;
}
export declare function messagingDownloadMessagingAttachmentResponseToJSON(messagingDownloadMessagingAttachmentResponse: MessagingDownloadMessagingAttachmentResponse): string;
export declare function messagingDownloadMessagingAttachmentResponseFromJSON(jsonString: string): SafeParseResult<MessagingDownloadMessagingAttachmentResponse, SDKValidationError>;
//# sourceMappingURL=messagingdownloadmessagingattachment.d.ts.map