import { GraphemeBreakType } from "./GraphemeBreakType"; import { RegExpOptions } from "./RegExpOptions"; export declare class StringsHelper { static get UNUSUAL_LINE_TERMINATORS(): RegExp; static get UTF8_BOM_CHARACTER(): string; private constructor(); static isFalsyOrWhitespace(str: string | undefined): boolean; static format(value: string, ...args: any[]): string; static escape(html: string): string; static escapeRegExpCharacters(value: string): string; static count(value: string, character: string): number; static truncate(value: string, maxLength: number, suffix?: string): string; static trim(haystack: string, needle?: string): string; static ltrim(haystack: string, needle: string): string; static rtrim(haystack: string, needle: string): string; static convertSimple2RegExpPattern(pattern: string): string; static stripWildcards(pattern: string): string; static createRegExp(searchString: string, isRegex: boolean, options?: RegExpOptions): RegExp; static regExpLeadsToEndlessLoop(regexp: RegExp): boolean; static regExpContainsBackreference(regexpValue: string): boolean; static regExpFlags(regexp: RegExp): string; static splitLines(str: string): string[]; static firstNonWhitespaceIndex(str: string): number; static getLeadingWhitespace(str: string, start?: number, end?: number): string; static lastNonWhitespaceIndex(str: string, startIndex?: number): number; static compare(a: string, b: string): number; static compareSubstring(a: string, b: string, aStart?: number, aEnd?: number, bStart?: number, bEnd?: number): number; static compareIgnoreCase(a: string, b: string): number; static compareSubstringIgnoreCase(a: string, b: string, aStart?: number, aEnd?: number, bStart?: number, bEnd?: number): number; static isLowerAsciiLetter(code: number): boolean; static isUpperAsciiLetter(code: number): boolean; static equalsIgnoreCase(a: string, b: string): boolean; static startsWithIgnoreCase(str: string, candidate: string): boolean; static commonPrefixLength(a: string, b: string): number; static commonSuffixLength(a: string, b: string): number; static isHighSurrogate(charCode: number): boolean; static isLowSurrogate(charCode: number): boolean; static computeCodePoint(highSurrogate: number, lowSurrogate: number): number; static getNextCodePoint(str: string, len: number, offset: number): number; static nextCharLength(str: string, offset: number): number; static prevCharLength(str: string, offset: number): number; static getCharContainingOffset(str: string, offset: number): [number, number]; static encodeUTF8(str: string): Uint8Array; static decodeUTF8(buffer: Uint8Array): string; static containsRTL(str: string): boolean; static containsEmoji(str: string): boolean; static isBasicASCII(str: string): boolean; static containsUnusualLineTerminators(str: string): boolean; static containsFullWidthCharacter(str: string): boolean; static isFullWidthCharacter(charCode: number): boolean; static isEmojiImprecise(x: number): boolean; static lcut(text: string, n: number): string; static removeAnsiEscapeCodes(str: string): string; static startsWithUTF8BOM(str: string): boolean; static stripUTF8BOM(str: string): string; static fuzzyContains(target: string, query: string): boolean; static containsUppercaseCharacter(target: string, ignoreEscapedChars?: boolean): boolean; static uppercaseFirstLetter(str: string): string; static getNLines(str: string, n?: number): string; static singleLetterHash(n: number): string; static getGraphemeBreakType(codePoint: number): GraphemeBreakType; static breakBetweenGraphemeBreakType(breakTypeA: GraphemeBreakType, breakTypeB: GraphemeBreakType): boolean; }