import { InputSize } from '@viasat/beam-shared/components/input'; import { ThemeTypes } from '@viasat/beam-shared/utils/constants'; import { Optional } from '@viasat/beam-shared/utils/types'; import { NullableTemplate } from '../../utils/mixins/types'; import { FormField } from '../wip/Form/Form.decorator'; /** * @summary `bm-text-field` * * @slot label - Specify the label for TextField * @slot helper-text - Specify the helper text for TextField * @slot content-after - Specify content to display after input * @slot content-before - Specify content to display before input */ export declare class BmTextField extends FormField { #private; /** * Specify placeholder text for TextField */ placeholder: Optional; /** * Specify if TextField is a required input */ required: boolean; /** * Specify if the TextField displays with an asterisk */ hideRequiredMarker: boolean; /** * Specify error text and display error state of a TextField */ error: Optional; /** * Specify if TextField displays in a read-only state */ readOnly: boolean; /** * Specify if TextField displays in a disabled state */ disabled: boolean; /** * Specify if TextField is fluid */ fluid: boolean; /** * Specify the size of TextField */ size: InputSize; /** * Specify the width of TextField */ width: Optional; /** * Specify if overflow displays ellipsis */ ellipse: boolean; /** * Specify the theme of the TextField. By default it inherits the theme from the parent */ theme: Optional; /** * Specify the input type (e.g. text, email, password, number, tel, url) */ type: string; /** * Specify the virtual keyboard type for mobile browsers (e.g. numeric, tel, url) */ inputMode: string; static styles: import('lit').CSSResult; private _textFieldLabel; private _textFieldHelperText; private _hasContentBeforeSlot; private _hasContentAfterSlot; updated(cP: Map): void; render(): NullableTemplate; } declare global { interface HTMLElementTagNameMap { 'bm-text-field': BmTextField; } } //# sourceMappingURL=TextField.d.ts.map