import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import * as shared from "../shared/index.js";
export type MessagingGetAttachmentRequest = {
    /**
     * The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
     */
    fields?: string | null | undefined;
    id: string;
    /**
     * Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
     */
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
     */
    raw?: boolean | null | undefined;
    subResourceId: string;
    /**
     * The account identifier
     */
    xAccountId: string;
};
export type MessagingGetAttachmentResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * The attachment with the given identifier was retrieved.
     */
    messagingAttachmentResult?: shared.MessagingAttachmentResult | undefined;
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
};
/** @internal */
export type MessagingGetAttachmentRequest$Outbound = {
    fields?: string | null | undefined;
    id: string;
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    raw?: boolean | null | undefined;
    subResourceId: string;
    "x-account-id": string;
};
/** @internal */
export declare const MessagingGetAttachmentRequest$outboundSchema: z.ZodType<MessagingGetAttachmentRequest$Outbound, z.ZodTypeDef, MessagingGetAttachmentRequest>;
export declare function messagingGetAttachmentRequestToJSON(messagingGetAttachmentRequest: MessagingGetAttachmentRequest): string;
/** @internal */
export declare const MessagingGetAttachmentResponse$inboundSchema: z.ZodType<MessagingGetAttachmentResponse, z.ZodTypeDef, unknown>;
export declare function messagingGetAttachmentResponseFromJSON(jsonString: string): SafeParseResult<MessagingGetAttachmentResponse, SDKValidationError>;
//# sourceMappingURL=messaginggetattachment.d.ts.map