import { CSSResultGroup } from 'lit'; import { SbbElement } from '../core/base-elements.ts'; declare const SbbTimeInputElement_base: import('../core/mixins.ts').AbstractConstructor & typeof SbbElement; /** * Custom input for a time. */ export declare class SbbTimeInputElement extends SbbTimeInputElement_base { static readonly elementName: string; static styles: CSSResultGroup; /** * The value of the time input. Reflects the current text value * of this input. */ set value(value: string); get value(): string; /** Formats the current input's value as date. */ set valueAsDate(date: Date | null); get valueAsDate(): Date | null; private _valueAsTime?; /** * Stores the last string and parsed date object value to prevent repeated * parsing of the string value. */ private _valueCache?; private _language; constructor(); connectedCallback(): void; disconnectedCallback(): void; protected updateFormValue(): void; private _tryParseValue; /** Validate input against the defined RegExps. */ private _parseValue; private _updateValueDateFormat; private _formatTime; protected preparePastedText(text: string): string; protected shouldValidate(name: PropertyKey | undefined): boolean; protected validate(): void; private _removeValidityErrors; /** Checks if values of hours and minutes are possible, to avoid non-existent times. */ private _isTimeValid; /** Only allow typing numbers and separator keys. */ private _preventCharInsert; private _hasSelection; } declare global { interface HTMLElementTagNameMap { 'sbb-time-input': SbbTimeInputElement; } } export {}; //# sourceMappingURL=time-input.component.d.ts.map