import { type APIPromise, APIResource, type FetchParams } from "../../core";
import type { ListPersonsResponseBody, Merchant, Person, Problem } from "../../types";
export type GetMerchantQueryParams = {
    version?: string;
};
export type ListPersonsQueryParams = {
    version?: string;
};
export type GetPersonQueryParams = {
    version?: string;
};
export declare class Merchants extends APIResource {
    /**
     * Retrieve a merchant.
     */
    get(merchantCode: string, query?: GetMerchantQueryParams, params?: FetchParams): APIPromise<Merchant, Problem>;
    /**
     * Returns a list of persons related to the merchant.
     */
    listPersons(merchantCode: string, query?: ListPersonsQueryParams, params?: FetchParams): APIPromise<ListPersonsResponseBody, Problem>;
    /**
     * Returns a single person related to the merchant.
     */
    getPerson(merchantCode: string, personId: string, query?: GetPersonQueryParams, params?: FetchParams): APIPromise<Person, Problem>;
}
//# sourceMappingURL=index.d.ts.map