import TransformerFunction from "./common/TransformerFunction"; import FunctionContext from "./common/FunctionContext"; declare class TransformerFunctionTrim extends TransformerFunction { constructor(); static isJavaWhitespace(codePoint: number): boolean; /** * Java definition of White Space: * @param codePoint */ static isWhitespace(codePoint: number): boolean; static indexOfJavaNonWhitespace(str: string): number; static lastIndexOfJavaNonWhitespace(str: string): number; static indexOfNonWhitespace(str: string): number; static lastIndexOfNonWhitespace(str: string): number; static outdent(lines: string[]): number; static stripIndent(str: string): string; /** * Finds the index of the first character in the input that is NOT present in badCharacters. * Handles Unicode surrogate pairs (e.g., emojis) correctly. */ static indexOfFirstGood(input: string, badCharacters: string): number; /** * Finds the index of the last character in the input that is NOT present in badCharacters. * Iterates backward handling Unicode surrogate pairs correctly. */ static indexOfLastGood(input: string, badCharacters: string): number; apply(context: FunctionContext): Promise; } export default TransformerFunctionTrim; //# sourceMappingURL=TransformerFunctionTrim.d.ts.map