/**
 * 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 Accounts {
    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 Accounts {
    protected readonly _options: Accounts.Options;
    constructor(_options: Accounts.Options);
    /**
     * Returns a list of `Account` objects.
     */
    list(request?: Merge.crm.AccountsListRequest, requestOptions?: Accounts.RequestOptions): Promise<Merge.crm.PaginatedAccountList>;
    /**
     * Creates an `Account` object with the given values.
     */
    create(request: Merge.crm.CrmAccountEndpointRequest, requestOptions?: Accounts.RequestOptions): Promise<Merge.crm.CrmAccountResponse>;
    /**
     * Returns an `Account` object with the given `id`.
     */
    retrieve(id: string, request?: Merge.crm.AccountsRetrieveRequest, requestOptions?: Accounts.RequestOptions): Promise<Merge.crm.Account>;
    /**
     * Updates an `Account` object with the given `id`.
     */
    partialUpdate(id: string, request: Merge.crm.PatchedCrmAccountEndpointRequest, requestOptions?: Accounts.RequestOptions): Promise<Merge.crm.CrmAccountResponse>;
    /**
     * Returns metadata for `CRMAccount` PATCHs.
     */
    metaPatchRetrieve(id: string, requestOptions?: Accounts.RequestOptions): Promise<Merge.crm.MetaResponse>;
    /**
     * Returns metadata for `CRMAccount` POSTs.
     */
    metaPostRetrieve(requestOptions?: Accounts.RequestOptions): Promise<Merge.crm.MetaResponse>;
    /**
     * Returns a list of `RemoteFieldClass` objects.
     */
    remoteFieldClassesList(request?: Merge.crm.AccountsRemoteFieldClassesListRequest, requestOptions?: Accounts.RequestOptions): Promise<Merge.crm.PaginatedRemoteFieldClassList>;
    protected _getAuthorizationHeader(): Promise<string>;
}
