/**
 * 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 AccountingPeriods {
    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 AccountingPeriods {
    protected readonly _options: AccountingPeriods.Options;
    constructor(_options: AccountingPeriods.Options);
    /**
     * Returns a list of `AccountingPeriod` objects.
     */
    list(request?: Merge.accounting.AccountingPeriodsListRequest, requestOptions?: AccountingPeriods.RequestOptions): Promise<Merge.accounting.PaginatedAccountingPeriodList>;
    /**
     * Returns an `AccountingPeriod` object with the given `id`.
     */
    retrieve(id: string, request?: Merge.accounting.AccountingPeriodsRetrieveRequest, requestOptions?: AccountingPeriods.RequestOptions): Promise<Merge.accounting.AccountingPeriod>;
    protected _getAuthorizationHeader(): Promise<string>;
}
