import { EventEmitter, ComponentInterface } from '../../stencil-public-runtime'; import { Color, StyleEvent, TextInputChangeEvent } from '../../interface'; import { DatasourceInterface } from '../../types/datasource-interface'; export declare class Input implements ComponentInterface, DatasourceInterface { private inputId; private nativeInput?; private didBlurAfterEdit; luInputEl: HTMLElement; /** * Does element have focus? */ hasFocus: boolean; /** * This is used when the parent form group receives the update event to tell the parent if it should validate or not. */ isResetting: boolean; /** * If the value of the type attribute is file, this attribute indicates the types of files that the server accepts. * otherwise it's ignored. The value must be comma-separated unique “content type specifiers”: * A case-insensitive file extension starting with the STOP character (U+002E). (e.g. .jpg, .png, .doc). * A valid MIME type with no extensions. * audio/* representing sound files. * video/* representing video files. * image/* representing image files. */ accept?: string; /** * Provides a way for users to specify the labeling elements. Pass the id's, separated by a space, to this prop. */ ariaLabeledByAddition: string; /** * This attribute indicates if the input can be automatically completed by the browser, usually by remembering previous values the user has entered. * There are a lot of options... refer to docs. Defaults to "off" */ autocomplete: string; /** * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user. Defaults to `"none"`. */ autocapitalize: string; /** * Whether autocorrection should be enabled when the user is entering/editing the text value. Defaults to `"off"`. */ autocorrect: string; /** * This Boolean attribute lets you specify that a form control should have input focus when the page loads. Defaults to `false`. */ autofocus: boolean; /** * used for autocomplete accessibility */ ariaAutoComplete: 'both' | 'list'; /** * used for combo box accessibility - defines the listbox if there is one */ ariaControls: string; /** * used for combo box accessibility - defines the active option */ ariaActiveDescendant: string; /** * If true, a clear icon will appear in the input when there is a value. Clicking it clears the input. Defaults to `false`. */ clearInput: boolean; /** * If true, the value will be cleared after focus upon edit. Defaults to `true` when `type` is `"password"`, `false` for all other types. */ clearOnEdit?: boolean; /** * If the value of the type attribute is file, this Boolean attribute indicates that capture of media directly from the device's sensors using a media capture mechanism is preferred, such as a webcam or microphone. */ capture: string; /** * If the value of the type attribute is radio or checkbox, this Boolean attribute pre-checks the control before the user interacts with it. */ checked: boolean; /** * The color to use from the Liberty color palette. * Default options are: `'primary', 'primary_darkest', 'primary_darker', 'primary_dark', 'primary_light', 'primary_lighter', 'primary_lightest', 'neutral', 'neutral_darker', 'neutral_darkest', 'neutral_light', 'neutral_lighter', 'neutral_lightest', 'ruby', 'official', 'warning', 'error', 'success', 'success_light', 'mustard'`. */ color?: Color; /** * Set the amount of time, in milliseconds, to wait to trigger the `luChange` event after each keystroke. Default `0`. */ debounce: number; protected debounceChanged(): void; /** * This Boolean attribute prevents the user from interacting with the input. In particular, the click event is not dispatched on disabled controls, and disabled controls aren't submitted with their form. */ disabled: boolean; /** * The form element that the input element is associated with (its form owner). The value of the attribute must be an id of a