import { OakUserException, OakException, OpRecord } from "oak-domain/lib/types"; import { EntityDict } from '../oak-app-domain'; import { EntityDict as BaseEntityDict } from 'oak-domain/lib/types/Entity'; export declare class OakDistinguishUserException extends OakUserException { userId: string; usePassword: boolean; useIdCard: boolean; useWechatUser: boolean; useEmail: boolean; useMobile: boolean; constructor(userId: string, usePassword: boolean, useIdCard: boolean, useWechatUser: boolean, useEmail: boolean, useMobile: boolean, message?: string, _module?: string, params?: Record); toString(): string; } export declare class OakChangeLoginWayException extends OakUserException { userId: string; useIdCard: boolean; useWechatUser: boolean; useEmail: boolean; useMobile: boolean; constructor(userId: string, useIdCard: boolean, useWechatUser: boolean, useEmail: boolean, useMobile: boolean, message?: string, _module?: string, params?: Record); toString(): string; } export declare class OakMobileUnsetException extends OakUserException { constructor(message?: string, _module?: string, params?: Record); } export declare class OakAuthenticationException extends OakUserException { constructor(message?: string, _module?: string, params?: Record); } export declare class OakUserInfoUncompletedException extends OakUserException { constructor(message?: string, _module?: string, params?: Record); } export declare class OakUserDisabledException extends OakUserException { constructor(message?: string, _module?: string, params?: Record); } export declare class OakTokenExpiredException extends OakUserException { constructor(message?: string, _module?: string, params?: Record); } export declare class OakMpHaveToSubscribeMessage extends OakUserException { rejectedMessageType: string[]; constructor(rejectedMessageType: string[], message?: string, _module?: string, params?: Record); } /** * 前端用户信息还没加载完整 */ export declare class OakUserInfoLoadingException extends OakException { constructor(message?: string, _module?: string, params?: Record); } /** * 前端application信息还没加载完整 */ export declare class OakApplicationLoadingException extends OakException { constructor(message?: string, _module?: string, params?: Record); } export declare class OakUploadException extends OakUserException { constructor(message?: string, _module?: string, params?: Record); } export declare class OakPasswordUnset extends OakUserException { constructor(message?: string, _module?: string, params?: Record); } export declare class OakHasToVerifyPassword extends OakUserException { constructor(message?: string, _module?: string, params?: Record); } export declare class OakCantChangeVerifiedUser extends OakUserException { constructor(message?: string, _module?: string, params?: Record); } export declare class OakIncompleteConfig extends OakUserException { appId: string; constructor(appId: string, message?: string, _module?: string, params?: Record); } export declare function makeException(data: { name: string; message?: string; opRecords: OpRecord[]; _module?: string; params?: Record; [A: string]: any; }): OakException | undefined;