export default NumberInput; type NumberInput = { $on?(type: string, callback: (e: any) => void): () => void; $set?(props: Partial>): void; }; /** * The equivalent of the HTML `` element. * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number * @see https://w3c.github.io/aria/#textbox */ declare const NumberInput: import("svelte").Component | undefined; /** * Decrease icon slot content. */ decreaseIcon?: Snippet<[]> | undefined; } & Record, {}, "invalid" | "value">; type Props = { /** * Input value. */ value?: number | undefined; /** * Minimum allowed value. */ min?: number | undefined; /** * Maximum allowed value. */ max?: number | undefined; /** * Value to be added or removed when using the up/down arrow key or * button. */ step?: number | undefined; /** * Increase icon slot content. */ increaseIcon?: Snippet<[]> | undefined; /** * Decrease icon slot content. */ decreaseIcon?: Snippet<[]> | undefined; }; import type { TextInputProps } from '../../typedefs'; import type { InputEventHandlers } from '../../typedefs'; import type { Snippet } from 'svelte';