import { LitElement } from 'lit'; import '../Button/Button'; import '../Icon/Icon'; import '../InputText/InputText'; declare global { interface HTMLElementTagNameMap { 'ctt-input-counter': CttInputCounter; } } /** * CTT Counter Input Component * * A numeric input with increment/decrement buttons that follows CTT design system patterns. * Features minus button, numeric input field, and plus button in a unified grouped layout. * * Key Features: * - Direct typing support with automatic min/max validation * - Values typed higher than max are automatically set to max value * - Values typed lower than min are automatically set to min value * - Increment/decrement buttons with keyboard support (Arrow Up/Down) * - Step-based value changes * - Accessibility support with ARIA attributes * - Configurable decimal precision * - Configurable maximum character length * * @example * ```html * * * * ``` */ export declare class CttInputCounter extends LitElement { static styles: import("lit").CSSResult; label: string; value: number; min: number | null; max: number | null; step: number; decimalPlaces: number; maxLength: number | null; disabled: boolean; required: boolean; size: 'small' | 'medium' | 'large'; id: string; name: string; ariaLabel: string; strict: boolean; error: boolean; errorText: string; hint: string; private _internalValue; private _inputFocused; private _lastValidValue; private _currentTypedValue; constructor(); private _handleSetError; connectedCallback(): void; disconnectedCallback(): void; firstUpdated(): void; updated(changedProperties: Map): void; private get inputId(); private get labelId(); private get isMinDisabled(); private get isMaxDisabled(); private _formatValue; private _roundToDecimal; private _clampValue; private _isValidNumber; private _updateValue; private _onDecrementClick; private _onIncrementClick; private _onInputChange; private _onInputFocus; private _onInputBlur; private _validateAndUpdateValue; private _onKeyDown; private _validateStrictInput; private _onInputInput; render(): import("lit-html").TemplateResult<1>; }