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