/**
 * Creates a new RegExp object using the provided string as a pattern after escaping
 * any RegExp special characters, along with optional flags.
 *
 * @param s - The string to convert into a RegExp pattern. Special characters will be escaped.
 * @param flags - Optional flags to apply to the RegExp.
 * @returns A RegExp object constructed from the escaped string and flags.
 */
export declare function getRegExpFromString(s: string, flags?: string): RegExp;
/**
 * Escapes a string for use in a regular expression.
 *
 * This function replaces characters that have special meaning in regular expressions,
 * such as ".", "*", "+", "?", "^", "$", "{", "}", "(", ")", "|", "[", "]", and "\\",
 * with their corresponding escaped version. This ensures the string is interpreted
 * as a literal sequence of characters when used in a regular expression.
 *
 * @param s - The input string to be escaped for use in a regular expression.
 * @returns A new string with all regular expression special characters escaped.
 */
export declare function escapeRegExp(s: string): string;
/**
 * Parse a string containing one or more key(value) expressions and return a map of keys to their corresponding
 * parenthesized value strings.
 *
 * The parser scans the input once (O(n) time) and supports nested parentheses inside values by counting open
 * parentheses. Keys are accumulated until the first '(' that begins a value; values include everything between
 * the matching parentheses pair (inner parentheses preserved). When a closing parenthesis matching the opening
 * for a key is found, the key (trimmed) is associated with the collected value (not trimmed) in the returned map.
 *
 * Remarks:
 * - If `expression` is falsy (empty string, null, undefined), an empty object is returned.
 * - Keys are trimmed of leading/trailing whitespace before being used as object properties.
 * - Values are returned exactly as collected between the outermost matching parentheses for that key
 *   (inner parentheses are preserved and not modified).
 * - Unbalanced or unterminated final parentheses result in that final key/value not being added to the map.
 * - The function does not support escape sequences for parentheses; every '(' increments the nesting level and
 *   every ')' decrements it.
 *
 * @param expression - The input string containing one or more key(value) groups to parse.
 * @returns An object mapping each parsed key (trimmed) to its corresponding value string (contents between the
 *          matching outer parentheses). Only fully closed key/value groups are included.
 *
 * @examples
 * - "a(b)" => { a: "b" }
 * - "foo(bar(baz))" => { foo: "bar(baz)" }
 * - "k1(v1) k2(v2)" => { k1: "v1", k2: "v2" }
 * - "  key  ( value(with(inner)) )  " => { "key": " value(with(inner)) " }
 */
export declare function parseMultipleExpressionBetweenBrackets(expression: string): {
    [key: string]: string;
};
//# sourceMappingURL=string.d.ts.map