import { TextField as ITextField } from "../response.js"; import { ListenerName } from "../names.js"; import { Component } from "../../components/component.js"; export { ITextField }; export declare class TextFieldBaseImpl extends Component { /** * Whether to enable the autocorrection */ autocorrect(autocorrect: ITextField['autocorrect']): this; /** * The type of this text input to provide autofill hints. */ autofillHints(autofillHints: ITextField['autofillHints']): this; /** * Whether this Textfield should be focused initially. */ autofocus(autofocus: ITextField['autofocus']): this; /** * Callback that generates a custom counter view. */ buildCounter(buildCounter: ITextField['buildCounter']): this; /** * The style of the Textfield. */ style(style: ITextField['style']): this; /** * Determines the way that drag start behavior is handled. */ dragStartBehavior(dragStartBehavior: ITextField['dragStartBehavior']): this; /** * Whether the text field is enabled. */ enabled(enabled: ITextField['enabled']): this; /** * Whether to enable user interface options to change the text selection. */ enableInteractiveSelection(enableInteractiveSelection: ITextField['enableInteractiveSelection']): this; /** * Whether the TextField is sized to fill its parent. */ expands(expands: ITextField['expands']): this; /** * The type of the keyboard to use for editing the text. */ keyboardType(keyboardType: ITextField['keyboardType']): this; /** * The maximum number of characters to allow in the text field. */ maxLength(maxLength: ITextField['maxLength']): this; /** * Determines how the maxLength limit should be enforced. */ maxLengthEnforcement(maxLengthEnforcement: ITextField['maxLengthEnforcement']): this; /** * The maximum number of lines to show at one time. */ maxLines(maxLines: ITextField['maxLines']): this; /** * The minimum number of lines to occupy on the screen. */ minLines(minLines: ITextField['minLines']): this; /** * Whether to hide the text being edited. */ obscureText(obscureText: ITextField['obscureText']): this; /** * This is used to receive a private command from the input method. */ onAppPrivateCommand(listener: ListenerName, props?: { [k: string]: unknown; }): this; /** * Callback when the user changes the text field value. */ onChanged(listener: ListenerName, props?: { [k: string]: unknown; }): this; /** * Callback when the user finishes editing the text field. */ onEditingComplete(listener: ListenerName, props?: { [k: string]: unknown; }): this; /** * Callback when the user tells he is done editing the text field. */ onSubmitted(listener: ListenerName, props?: { [k: string]: unknown; }): this; /** * Callback when the user taps on the text field. */ onTap(listener: ListenerName, props?: { [k: string]: unknown; }): this; /** * Whether the text can be changed. */ readOnly(readOnly: ITextField['readOnly']): this; /** * Whether to show the cursor. */ showCursor(showCursor: ITextField['showCursor']): this; /** * Configures how the platform keyboard will select an uppercase or lowercase keyboard. */ textCapitalization(textCapitalization: ITextField['textCapitalization']): this; /** * The direction of the text. */ textDirection(textDirection: ITextField['textDirection']): this; /** * The type of the action button to use for the keyboard. */ textInputAction(textInputAction: ITextField['textInputAction']): this; /** * Configuration of toolbar options */ toolbarOptions(toolbarOptions: ITextField['toolbarOptions']): this; /** * The name that will be used in the form. */ name(name: ITextField['name']): this; }