declare class ParseUtils { static regex: RegExp; static subRegex: RegExp; static keyMap: { [key: string]: string; }; /** * @example * const localeKey = "Hi {@P .name:'test'}" * const result = ParseUtils.formatLocaleKey(localeKey) * output: * "Hi {@P .name}" * @param localeKey * @returns string with only prop name */ static formatLocaleKey(localeKey: string): string; static getKeyAndValue(match: string): string[]; static addKeyToMap(key: string, value: string): void; /** * @example * const localeKey = "Ola {@P .name}" * const result = ParseUtils.replaceWithValue(localeKey) * output: * "Ola test" * @param localizedValue * @returns string by replacing the propName with actual value */ static replaceWithValue(localizedValue: string): string; } export default ParseUtils;