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 declare const MessagingGetAttachmentRequest$inboundSchema: z.ZodType<MessagingGetAttachmentRequest, z.ZodTypeDef, unknown>;
/** @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>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MessagingGetAttachmentRequest$ {
    /** @deprecated use `MessagingGetAttachmentRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MessagingGetAttachmentRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `MessagingGetAttachmentRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MessagingGetAttachmentRequest$Outbound, z.ZodTypeDef, MessagingGetAttachmentRequest>;
    /** @deprecated use `MessagingGetAttachmentRequest$Outbound` instead. */
    type Outbound = MessagingGetAttachmentRequest$Outbound;
}
export declare function messagingGetAttachmentRequestToJSON(messagingGetAttachmentRequest: MessagingGetAttachmentRequest): string;
export declare function messagingGetAttachmentRequestFromJSON(jsonString: string): SafeParseResult<MessagingGetAttachmentRequest, SDKValidationError>;
/** @internal */
export declare const MessagingGetAttachmentResponse$inboundSchema: z.ZodType<MessagingGetAttachmentResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type MessagingGetAttachmentResponse$Outbound = {
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    MessagingAttachmentResult?: shared.MessagingAttachmentResult$Outbound | undefined;
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const MessagingGetAttachmentResponse$outboundSchema: z.ZodType<MessagingGetAttachmentResponse$Outbound, z.ZodTypeDef, MessagingGetAttachmentResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MessagingGetAttachmentResponse$ {
    /** @deprecated use `MessagingGetAttachmentResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MessagingGetAttachmentResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `MessagingGetAttachmentResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MessagingGetAttachmentResponse$Outbound, z.ZodTypeDef, MessagingGetAttachmentResponse>;
    /** @deprecated use `MessagingGetAttachmentResponse$Outbound` instead. */
    type Outbound = MessagingGetAttachmentResponse$Outbound;
}
export declare function messagingGetAttachmentResponseToJSON(messagingGetAttachmentResponse: MessagingGetAttachmentResponse): string;
export declare function messagingGetAttachmentResponseFromJSON(jsonString: string): SafeParseResult<MessagingGetAttachmentResponse, SDKValidationError>;
//# sourceMappingURL=messaginggetattachment.d.ts.map