import { APIResource } from "../core/resource.js"; import * as MessageAPI from "./message/message.js"; import { APIPromise } from "../core/api-promise.js"; import { RequestOptions } from "../internal/request-options.js"; export declare class Internal extends APIResource { /** * Serve authorized message content to the preview service. */ retrieve(messageID: string, params: InternalRetrieveParams, options?: RequestOptions): APIPromise; } export interface InternalRetrieveParams { /** * Query param */ t: string; /** * Header param */ 'Accept-Language'?: string; /** * Header param: Set to `structured` to receive errors in the structured envelope. * Omit it to keep the legacy error body. */ 'X-Error-Format'?: string; } export declare namespace Internal { export { type InternalRetrieveParams as InternalRetrieveParams }; } //# sourceMappingURL=internal.d.ts.map