import { CSSResultGroup, TemplateResult } from 'lit'; import { SbbHintElement } from '../hint/hint.component.ts'; /** * It displays the remaining characters count for input/textarea elements with a configured * maxlength property in the `sbb-form-field`. * The component automatically uses the form field's inputElement and displays the remaining character count. * If the input is disabled, readonly or an `sbb-error` is present, the output is suppressed. * @slot - Use the unnamed slot to display a custom description text after the counter. */ export declare class SbbFormFieldTextCounterElement extends SbbHintElement { static readonly elementName: string; static styles: CSSResultGroup; private accessor _remainingCharacters; private _language; private _abortController; connectedCallback(): void; disconnectedCallback(): void; private _onInputUpdate; private _infoText; protected render(): TemplateResult; } declare global { interface HTMLElementTagNameMap { 'sbb-form-field-text-counter': SbbFormFieldTextCounterElement; } } //# sourceMappingURL=form-field-text-counter.component.d.ts.map