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