/**
 * 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 Payments {
    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 Payments {
    protected readonly _options: Payments.Options;
    constructor(_options: Payments.Options);
    /**
     * Returns a list of `Payment` objects.
     */
    list(request?: Merge.accounting.PaymentsListRequest, requestOptions?: Payments.RequestOptions): Promise<Merge.accounting.PaginatedPaymentList>;
    /**
     * Creates a `Payment` object with the given values.
     */
    create(request: Merge.accounting.PaymentEndpointRequest, requestOptions?: Payments.RequestOptions): Promise<Merge.accounting.PaymentResponse>;
    /**
     * Returns a `Payment` object with the given `id`.
     */
    retrieve(id: string, request?: Merge.accounting.PaymentsRetrieveRequest, requestOptions?: Payments.RequestOptions): Promise<Merge.accounting.Payment>;
    /**
     * Returns metadata for `Payment` POSTs.
     */
    metaPostRetrieve(requestOptions?: Payments.RequestOptions): Promise<Merge.accounting.MetaResponse>;
    protected _getAuthorizationHeader(): Promise<string>;
}
