/**
 * Creates a formatted string from a template where the value for {foo} in the format is substituted from
 * the value keyed by "foo". For example formatString("{foo}", { "foo": "x" }) would return "x". In general,
 * you should use templates like `${value}` for creating strings, but formatString should be used when
 * constructing strings from localized string resources as the former is not possible..
 *
 * Also sanitizes html strings and converts tags to rich text formatting.
 */
export declare function formatString(format: string, values?: any): React.ReactElement[];
/**
 * Attempts to parse a given string to a JSON object
 * @param {string} jsonString - The string to parse.
 * @returns {any} - the parsed object if successful, or null otherwise.
 */
export declare function tryParseJson(jsonString: string | undefined): any;
