import { OakException, OpRecord } from 'oak-domain/lib/types'; import { EntityDict } from '../oak-app-domain/index'; export declare class UploadShipException extends OakException { constructor(message?: string); } 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;