import { Comparison } from './core'; export declare function isPatternInSymbol(typedValue: string, symbolName: string): boolean; export declare function hashString(contents: string): number; /** * Compare two strings using a case-insensitive ordinal comparison. * * Ordinal comparisons are based on the difference between the unicode code points of both * strings. Characters with multiple unicode representations are considered unequal. Ordinal * comparisons provide predictable ordering, but place "a" after "B". * * Case-insensitive comparisons compare both strings one code-point at a time using the integer * value of each code-point after applying `toUpperCase` to each string. We always map both * strings to their upper-case form as some unicode characters do not properly round-trip to * lowercase (such as `ẞ` (German sharp capital s)). */ export declare function compareStringsCaseInsensitive(a: string | undefined, b: string | undefined): Comparison; /** * Compare two strings using a case-sensitive ordinal comparison. * * Ordinal comparisons are based on the difference between the unicode code points of both * strings. Characters with multiple unicode representations are considered unequal. Ordinal * comparisons provide predictable ordering, but place "a" after "B". * * Case-sensitive comparisons compare both strings one code-point at a time using the integer * value of each code-point. */ export declare function compareStringsCaseSensitive(a: string | undefined, b: string | undefined): Comparison; export declare function getStringComparer(ignoreCase?: boolean): typeof compareStringsCaseInsensitive; /** * Compare the equality of two strings using a case-insensitive ordinal comparison. * * Case-insensitive comparisons compare both strings one code-point at a time using the integer * value of each code-point after applying `toUpperCase` to each string. We always map both * strings to their upper-case form as some unicode characters do not properly round-trip to * lowercase (such as `ẞ` (German sharp capital s)). */ export declare function equateStringsCaseInsensitive(a: string, b: string): boolean; /** * Compare the equality of two strings using a case-sensitive ordinal comparison. * * Case-sensitive comparisons compare both strings one code-point at a time using the * integer value of each code-point. */ export declare function equateStringsCaseSensitive(a: string, b: string): boolean; export declare function getCharacterCount(value: string, ch: string): number; export declare function getLastDottedString(text: string): string; export declare function truncate(text: string, maxLength: number): string; export declare function escapeRegExp(text: string): string;