export type PayErrorCode = "JSON_PARSE" | "JSON_SERIALIZE" | "PAYMENT_OPTIONS" | "PAYMENT_REQUEST" | "CONFIRM_PAYMENT" | "NATIVE_MODULE_NOT_FOUND" | "INITIALIZATION_ERROR" | "UNKNOWN";
export declare class PayError extends Error {
    readonly code: PayErrorCode;
    readonly originalMessage: string;
    constructor(code: PayErrorCode, message: string, originalMessage?: string);
    static fromNativeError(error: unknown): PayError;
}
export declare class NativeModuleNotFoundError extends PayError {
    constructor();
}
export declare class PaymentOptionsError extends PayError {
    constructor(message: string);
}
export declare class PaymentActionsError extends PayError {
    constructor(message: string);
}
export declare class ConfirmPaymentError extends PayError {
    constructor(message: string);
}
//# sourceMappingURL=errors.d.ts.map