/**
 * 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 PurchaseOrders {
    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 PurchaseOrders {
    protected readonly _options: PurchaseOrders.Options;
    constructor(_options: PurchaseOrders.Options);
    /**
     * Returns a list of `PurchaseOrder` objects.
     */
    list(request?: Merge.accounting.PurchaseOrdersListRequest, requestOptions?: PurchaseOrders.RequestOptions): Promise<Merge.accounting.PaginatedPurchaseOrderList>;
    /**
     * Creates a `PurchaseOrder` object with the given values.
     */
    create(request: Merge.accounting.PurchaseOrderEndpointRequest, requestOptions?: PurchaseOrders.RequestOptions): Promise<Merge.accounting.PurchaseOrderResponse>;
    /**
     * Returns a `PurchaseOrder` object with the given `id`.
     */
    retrieve(id: string, request?: Merge.accounting.PurchaseOrdersRetrieveRequest, requestOptions?: PurchaseOrders.RequestOptions): Promise<Merge.accounting.PurchaseOrder>;
    /**
     * Returns metadata for `PurchaseOrder` POSTs.
     */
    metaPostRetrieve(requestOptions?: PurchaseOrders.RequestOptions): Promise<Merge.accounting.MetaResponse>;
    protected _getAuthorizationHeader(): Promise<string>;
}
