import { MessageObject } from 'roomle-core-hsc/src/embind/toolsCoreInterface'; export declare enum ProblemMessageSourceType { RoomleCoreHsc = "rml-core-hsc", RoomleContentToolApi = "rml-tool-api", RoomleToolVSCodeExtension = "rml-vsc-ext" } export declare enum ProblemMessageType { INFO = "[INFO]", WARNING = "[WARNING]", ERROR = "[ERROR]", HINT = "[HINT]" } export declare enum ContentToolApiErrorCodes { FAILED_TO_GET_COMPONENT_PAYLOAD = 2000, LOCAL_FILE_NOT_FOUND = 2001, JSON_PARSE_ERROR = 2002, FILENAME_POSSIBLE_CASE_ERROR = 2003, INVALID_OR_MISSING_COMPONENT_ID = 2004, UNAVAILABLE_ITEM_DEFINITION = 2005, DEPENCENCY_CRAWLER_CASE_INSENSITIVE_DUPLICATE = 3000, SUBCOMPONENT_HAS_NO_COMPONENT_ID = 3001, CIRCULAR_DEPENDENCY = 3002, COMPONENT_ID_NOT_STRING = 3003, WRONG_ID_PATTERN = 3004, FILENAME_DIFFERENT_FROM_ID = 3005, EMPTY_ITEM_CONFIGURATION = 3006, CYCLIC_SUBCOMPONENT_HIERARCHY = 3007, INVALID_SUBCOMPONENT_ASSIGNMENT = 3008, NOT_A_LABEL_PATH = 4000, CAN_NOT_SET_VALUE_AT_PATH = 4001, TRANSLATION_EMPTY = 4002, REQUEST_DOCK_ITEM_HINT = 9000, TODO_COMMENT = 9001, FIXME_COMMENT = 9002 } export declare class ProblemMessageObject implements MessageObject { column?: number; errorCode: number; fileName: string; line?: number; lineInScript?: number; message: string; scriptPath?: string; type: string; typeId: number; messageSource: ProblemMessageSourceType; constructor(source: any, messageSource: ProblemMessageSourceType | undefined); /** * String representation of the message object with full details. This is useful for console or output channel logging. */ toString(): string; /** * Checks if this message object is the same as another one. * @param other The other message object to compare with. * @returns True if the message objects are the same, false otherwise. */ isSame(other: ProblemMessageObject): boolean; } /** * Prints out a roomle-core-hsc MessageObject as a string. * @param messageObject * @returns */ export declare function MessageObjectToString(messageObject: MessageObject | ProblemMessageObject): string;