import { TextField } from "@microsoft/fast-foundation"; export declare class UnitsTextField extends TextField { private wordBoundryRegex; /** * @internal */ connectedCallback(): void; /** * Finds the first index of a regular expression in a string. * @param searchString The string to search. * @param regex The regular expression to match. * @param position An optional starting position. * @returns The first matching index within the string or -1 if it is not found. */ indexOf(searchString: string, regex: RegExp, position?: number): number; /** * Finds the last index of a regular expression in a string. * @param searchString The string to search. * @param regex The regular expression to match. * @param position An optional starting position. * @returns The last matching index within the string or -1 if it is not found. */ lastIndexOf(searchString: string, regex: RegExp, position?: number): number; handleKeyDown: (ev: KeyboardEvent) => boolean; handleTextInput(): void; }