/**
 * Returns boolean if value is either "true" or "false" else the value as it is.
 *
 * @param {string | boolean} value The value to parse.
 * @returns {boolean | undefined } The parsed value.
 */
export declare const ParseBoolean: (value: string | boolean) => boolean | undefined;
/**
 * Parse string to array of strings.
 *
 * @param {string} str The string to parse.
 * @param {delimiter} str Character to split string by
 * @returns {string[]} The array of strings.
 */
export declare const ParseStringArray: (str: string, delimiter?: string) => string[];
/**
 * Clamp the given number between the given range.
 *
 * @param {number | string} number The number to clamp.
 * @param {number} min The minimum value.
 * @param {number} max The maximum value.
 * returns {number} The clamped number.
 */
export declare const ClampValue: (number: number | string, min: number, max: number) => number;
/**
 * Encode string as HTML.
 *
 * @see https://stackoverflow.com/a/48073476/10629172
 *
 * @param {string} str String to encode.
 * @returns {string} Encoded string.
 */
export declare const EncodeHTML: (str: string) => string;
/**
 * Checks if a string is a valid hex color.
 *
 * @param {string} hexColor String to check.
 * @returns {boolean} True if the given string is a valid hex color.
 */
export declare const IsValidHexColor: (hexColor: string) => boolean;
/**
 * Function to replace ${key} in a string with the value of key in the keys object
 *
 * Thanks to Leo in the Cloudflare Developer Discord for this function
 * @param str The string to format
 * @param keys The keys to format the string with
 * @returns The formatted string
 */
export declare function Formatter(str: string, keys: {
    [key: string]: string;
}): string;
//# sourceMappingURL=tools.d.ts.map