import { ApiEndpoints, Endpoint } from './endpoints'; export interface WexinPayProps { appid: string; mchid: string; partnerKey: string; pfx?: string; notify_url?: string; refund_url?: string; spbill_create_ip?: string; sandbox?: boolean; debug?: boolean; } export declare class WexinPay implements WexinPayProps { props: WexinPayProps; appid: string; mchid: string; partnerKey: string; pfx?: string | undefined; notify_url?: string | undefined; refund_url?: string | undefined; spbill_create_ip?: string | undefined; debug?: boolean; endpoints: ApiEndpoints; constructor(props: WexinPayProps); log(...args: any[]): void; _parse(xml: string, type: Endpoint, signType: any): Promise; _getSign(params: { [key: string]: string; }, type?: string): string; _request(params: { [key: string]: string; }, type: Endpoint, cert?: boolean): Promise; unifiedOrder(params: any): Promise; }