import { OakUserException, OakException } from "oak-domain/lib/types"; import { EntityDict } from '../general-app-domain'; import { EntityDict as BaseEntityDict, SelectOpResult } from 'oak-domain/lib/types/Entity'; export declare class OakNotEnoughMoneyException extends OakUserException { constructor(message?: string); } export declare class OakDistinguishUserException extends OakUserException { userId: string; usingPassword: boolean; usingIdCard: boolean; usingWechatUser: boolean; usingEmail: boolean; constructor(userId: string, usingPassword: boolean, usingIdCard: boolean, usingWechatUser: boolean, usingEmail: boolean, message?: string); toString(): string; } export declare class OakChangeLoginWayException extends OakUserException { userId: string; usingIdCard: boolean; usingWechatUser: boolean; usingEmail: boolean; constructor(userId: string, usingIdCard: boolean, usingWechatUser: boolean, usingEmail: boolean, message?: string); toString(): string; } export declare class OakMobileUnsetException extends OakUserException { constructor(message?: string); } export declare class OakUserInfoUncompletedException extends OakUserException { constructor(message?: string); } export declare class OakUserDisabledException extends OakUserException { constructor(message?: string); } export declare class OakTokenExpiredException extends OakUserException { constructor(message?: string); } export declare class OakMpHaveToSubscribeMessage extends Error { rejectedMessageType: string[]; constructor(rejectedMessageType: string[], message?: string); } export declare function makeException(data: { name: string; message?: string; opRecords: SelectOpResult; [A: string]: any; }): OakException | undefined;