/**
 * 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 Expenses {
    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 Expenses {
    protected readonly _options: Expenses.Options;
    constructor(_options: Expenses.Options);
    /**
     * Returns a list of `Expense` objects.
     */
    list(request?: Merge.accounting.ExpensesListRequest, requestOptions?: Expenses.RequestOptions): Promise<Merge.accounting.PaginatedExpenseList>;
    /**
     * Creates an `Expense` object with the given values.
     */
    create(request: Merge.accounting.ExpenseEndpointRequest, requestOptions?: Expenses.RequestOptions): Promise<Merge.accounting.ExpenseResponse>;
    /**
     * Returns an `Expense` object with the given `id`.
     */
    retrieve(id: string, request?: Merge.accounting.ExpensesRetrieveRequest, requestOptions?: Expenses.RequestOptions): Promise<Merge.accounting.Expense>;
    /**
     * Returns metadata for `Expense` POSTs.
     */
    metaPostRetrieve(requestOptions?: Expenses.RequestOptions): Promise<Merge.accounting.MetaResponse>;
    protected _getAuthorizationHeader(): Promise<string>;
}
