export declare function isEngineError(error: Error | BaseError | any): boolean; export type IClassOf = new (...args: Array) => TClass; export type ErrorCategory = 'process' | 'setup' | 'extension'; export declare class BaseError extends Error { code: number; additionalInformation: any; category?: ErrorCategory; fatal: boolean; isEngineError: boolean; constructor(code: number, message: string, category?: ErrorCategory); static deserialize(serializedError: string, reviverFunction?: (key: string, value: any) => any): BaseError; serialize(): string; private setCategoryPrefix; }