import { OakException, OpRecord } from 'oak-domain/lib/types'; import { EntityDict } from '../oak-app-domain/index'; /** * 退款时级联创建的opers的price总和小于本次退款金额-订单未结算金额 */ export declare class refundOpersNotEnough extends OakException { price: number; constructor(price: number, message?: string, _module?: string, params?: Record); getSerialData(): { price: number; name: string; message: string; _module: string | undefined; params: Record | undefined; opRecords: OpRecord[]; tag1: string | undefined; tag2: boolean | undefined; tag3: any; }; } /** * 退款时级联创建的opers的price总和大于订单已结算金额 */ export declare class refundOpersExceed extends OakException { price: number; constructor(price: number, message?: string, _module?: string, params?: Record); getSerialData(): { price: number; name: string; message: string; _module: string | undefined; params: Record | undefined; opRecords: OpRecord[]; tag1: string | undefined; tag2: boolean | undefined; tag3: any; }; } /** * 退款时settlePlan金额超出order可计划结算金额 */ export declare class settlePlanExceed extends OakException { price: number; constructor(price: number, message?: string, _module?: string, params?: Record); getSerialData(): { price: number; name: string; message: string; _module: string | undefined; params: Record | undefined; opRecords: OpRecord[]; tag1: string | undefined; tag2: boolean | undefined; tag3: any; }; } export declare class UploadShipException extends OakException { reason: any; constructor(reason: any, message?: string, _module?: string, params?: Record); getSerialData(): { reason: any; name: string; message: string; _module: string | undefined; params: Record | undefined; opRecords: OpRecord[]; tag1: string | undefined; tag2: boolean | undefined; tag3: any; }; } export declare class ExternalPayUtilException extends OakException { reason: any; constructor(reason: any, message?: string, _module?: string, params?: Record); getSerialData(): { reason: any; name: string; message: string; _module: string | undefined; params: Record | undefined; opRecords: OpRecord[]; tag1: string | undefined; tag2: boolean | undefined; tag3: any; }; } export declare class RefundExceedMax extends OakException { constructor(message?: string, _module?: string, params?: Record); } export declare class PayUnRefundable extends OakException { constructor(message?: string, _module?: string, params?: Record); } export declare class StartPayFailure extends OakException { constructor(message: string, _module?: string, params?: Record); } export declare function makeException(msg: string | object): OakException | undefined;