/**
 * 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.accounting.AccountsListRequest, requestOptions?: Accounts.RequestOptions): Promise<Merge.accounting.PaginatedAccountList>;
    /**
     * Creates an `Account` object with the given values.
     */
    create(request: Merge.accounting.AccountEndpointRequest, requestOptions?: Accounts.RequestOptions): Promise<Merge.accounting.AccountResponse>;
    /**
     * Returns an `Account` object with the given `id`.
     */
    retrieve(id: string, request?: Merge.accounting.AccountsRetrieveRequest, requestOptions?: Accounts.RequestOptions): Promise<Merge.accounting.Account>;
    /**
     * Returns metadata for `Account` POSTs.
     */
    metaPostRetrieve(requestOptions?: Accounts.RequestOptions): Promise<Merge.accounting.MetaResponse>;
    protected _getAuthorizationHeader(): Promise<string>;
}
