import type * as stream from "stream";
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient";
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient";
import * as core from "../../../../../../core";
import type * as Merge from "../../../../../index";
export declare namespace AttachmentsClient {
    type Options = BaseClientOptions;
    interface RequestOptions extends BaseRequestOptions {
    }
}
export declare class AttachmentsClient {
    protected readonly _options: NormalizedClientOptionsWithAuth<AttachmentsClient.Options>;
    constructor(options: AttachmentsClient.Options);
    /**
     * Returns a list of `Attachment` objects.
     *
     * @param {Merge.ticketing.AttachmentsListRequest} request
     * @param {AttachmentsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.ticketing.attachments.list({
     *         createdAfter: new Date("2024-01-15T09:30:00.000Z"),
     *         createdBefore: new Date("2024-01-15T09:30:00.000Z"),
     *         cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
     *         includeDeletedData: true,
     *         includeRemoteData: true,
     *         includeShellData: true,
     *         modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
     *         modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
     *         pageSize: 1,
     *         remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"),
     *         remoteId: "remote_id",
     *         ticketId: "ticket_id"
     *     })
     */
    list(request?: Merge.ticketing.AttachmentsListRequest, requestOptions?: AttachmentsClient.RequestOptions): Promise<core.Page<Merge.ticketing.Attachment, Merge.ticketing.PaginatedAttachmentList>>;
    /**
     * Creates an `Attachment` object with the given values.
     *
     * @param {Merge.ticketing.TicketingAttachmentEndpointRequest} request
     * @param {AttachmentsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.ticketing.attachments.create({
     *         isDebugMode: true,
     *         runAsync: true,
     *         model: {}
     *     })
     */
    create(request: Merge.ticketing.TicketingAttachmentEndpointRequest, requestOptions?: AttachmentsClient.RequestOptions): core.HttpResponsePromise<Merge.ticketing.TicketingAttachmentResponse>;
    private __create;
    /**
     * Returns an `Attachment` object with the given `id`.
     *
     * @param {string} id
     * @param {Merge.ticketing.AttachmentsRetrieveRequest} request
     * @param {AttachmentsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.ticketing.attachments.retrieve("id", {
     *         includeRemoteData: true,
     *         includeShellData: true
     *     })
     */
    retrieve(id: string, request?: Merge.ticketing.AttachmentsRetrieveRequest, requestOptions?: AttachmentsClient.RequestOptions): core.HttpResponsePromise<Merge.ticketing.Attachment>;
    private __retrieve;
    /**
     * Returns the `File` content with the given `id` as a stream of bytes.
     */
    downloadRetrieve(id: string, request?: Merge.ticketing.AttachmentsDownloadRetrieveRequest, requestOptions?: AttachmentsClient.RequestOptions): core.HttpResponsePromise<stream.Readable>;
    private __downloadRetrieve;
    /**
     * Returns metadata for `TicketingAttachment` POSTs.
     *
     * @param {AttachmentsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.ticketing.attachments.metaPostRetrieve()
     */
    metaPostRetrieve(requestOptions?: AttachmentsClient.RequestOptions): core.HttpResponsePromise<Merge.ticketing.MetaResponse>;
    private __metaPostRetrieve;
}
