import * as gracely from "gracely"; import * as authly from "authly"; import { Connection } from "@payfunc/model-base"; import { Merchant as ModelMerchant } from "../Merchant"; export declare class Merchant { readonly connection: Connection; constructor(connection: Connection); create(request: ModelMerchant): Promise; list(): Promise; replace(request: ModelMerchant, id: authly.Identifier): Promise; patch(request: Partial, id: authly.Identifier): Promise; updateRules(request: ModelMerchant.Rules, id: authly.Identifier): Promise; load(id?: authly.Identifier | authly.Identifier[]): Promise; static open(url: string, token: string): Merchant; static open(url: string | undefined, token: string | undefined): Merchant | undefined; }