import common from '@ohos.app.ability.common';
export declare enum UPPayResultStatus {
    SUCCESS = 0,
    FAIL = 1,
    CANCEL = 2
}
export interface UPPayResult {
    code?: UPPayResultStatus;
    data?: string | null;
}
export type UPPayResultCallback = (result: UPPayResult) => void;
export declare class UPPayment {
    private configHandled;
    startPay(t20: string, u20: string, v20: string, w20: common.UIAbilityContext, x20?: string): void;
    private getRemoteConfig;
    private getLocalConfig;
    private handleConfig;
    private handlePackageInfos;
    private openAppPay;
    private openWapPay;
    private openLink;
    private sendWebPayResult;
    handlePaymentResult(r20: string, s20: UPPayResultCallback): void;
}
