/**
 * 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 Invoices {
    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 Invoices {
    protected readonly _options: Invoices.Options;
    constructor(_options: Invoices.Options);
    /**
     * Returns a list of `Invoice` objects.
     */
    list(request?: Merge.accounting.InvoicesListRequest, requestOptions?: Invoices.RequestOptions): Promise<Merge.accounting.PaginatedInvoiceList>;
    /**
     * Creates an `Invoice` object with the given values.
     */
    create(request: Merge.accounting.InvoiceEndpointRequest, requestOptions?: Invoices.RequestOptions): Promise<Merge.accounting.InvoiceResponse>;
    /**
     * Returns an `Invoice` object with the given `id`.
     */
    retrieve(id: string, request?: Merge.accounting.InvoicesRetrieveRequest, requestOptions?: Invoices.RequestOptions): Promise<Merge.accounting.Invoice>;
    /**
     * Returns metadata for `Invoice` POSTs.
     */
    metaPostRetrieve(requestOptions?: Invoices.RequestOptions): Promise<Merge.accounting.MetaResponse>;
    protected _getAuthorizationHeader(): Promise<string>;
}
