/**
 * This file was auto-generated by Fern from our API Definition.
 */
import * as environments from "../../../../../../environments";
import * as core from "../../../../../../core";
import * as Merge from "../../../../..";
export declare namespace Attachments {
    interface Options {
        environment?: core.Supplier<environments.MergeEnvironment | string>;
        apiKey: core.Supplier<core.BearerToken>;
        accountToken?: core.Supplier<string | undefined>;
    }
    interface RequestOptions {
        timeoutInSeconds?: number;
    }
}
export declare class Attachments {
    protected readonly _options: Attachments.Options;
    constructor(_options: Attachments.Options);
    /**
     * Returns a list of `Attachment` objects.
     */
    list(request?: Merge.ats.AttachmentsListRequest, requestOptions?: Attachments.RequestOptions): Promise<Merge.ats.PaginatedAttachmentList>;
    /**
     * Creates an `Attachment` object with the given values.
     */
    create(request: Merge.ats.AttachmentEndpointRequest, requestOptions?: Attachments.RequestOptions): Promise<Merge.ats.AttachmentResponse>;
    /**
     * Returns an `Attachment` object with the given `id`.
     */
    retrieve(id: string, request?: Merge.ats.AttachmentsRetrieveRequest, requestOptions?: Attachments.RequestOptions): Promise<Merge.ats.Attachment>;
    /**
     * Returns metadata for `Attachment` POSTs.
     */
    metaPostRetrieve(requestOptions?: Attachments.RequestOptions): Promise<Merge.ats.MetaResponse>;
    protected _getAuthorizationHeader(): Promise<string>;
}
