import { LitElement } from 'lit'; import '../button'; declare const NumberInput_base: (new (...args: any[]) => import("../../../common/mixins/form-input").FormMixinInterface) & typeof LitElement; /** * Number input. * * @fires on-input - Captures the input event and emits the value and original event details.`detail:{ value: number }` * @slot tooltip - Slot for tooltip. * @attr {string} [name=''] - The name of the input, used for form submission. * @attr {string} [invalidText=''] - The custom validation message when the input is invalid. * * @cssprop [--kyn-number-input-inner-max-width=200px] - Maximum width of the number input inner container. * @cssprop [--kyn-number-input-inner-min-width=0px] - Minimum width of the number input inner container. */ export declare class NumberInput extends NumberInput_base { static styles: import("lit").CSSResult; /** Label text. */ accessor label: string; /** Input size. "xs", "sm", "md", or "lg". */ accessor size: string; /** Input value. */ value: number; /** Input placeholder. */ accessor placeholder: string; /** Makes the input required. */ accessor required: boolean; /** Input disabled state. */ accessor disabled: boolean; /** Input readonly state. */ accessor readonly: boolean; /** Optional text beneath the input. */ accessor caption: string; /** Maximum value. */ accessor max: number; /** Minimum value. */ accessor min: number; /** Step value. */ accessor step: number; /** Visually hide the label. */ accessor hideLabel: boolean; /** Inline mode: hides the step buttons, label, and errors. */ accessor inline: boolean; /** Shows the border/background when inline mode is enabled. */ accessor inlineBorder: boolean; /** Customizable text strings. */ accessor textStrings: { requiredText: string; subtract: string; add: string; error: string; }; /** Internal text strings. * @internal */ accessor _textStrings: { requiredText: string; subtract: string; add: string; error: string; }; /** * Queries the DOM element. * @ignore */ accessor _inputEl: HTMLInputElement; render(): import("lit-html").TemplateResult<1>; private _sizeMap; private _handleSubtract; private _handleAdd; private _handleInput; private _emitValue; private _validate; updated(changedProps: any): void; willUpdate(changedProps: any): void; } declare global { interface HTMLElementTagNameMap { 'kyn-number-input': NumberInput; } } export {}; //# sourceMappingURL=numberInput.d.ts.map