import '@oicl/openbridge-webcomponents/dist/components/number-input-field/number-input-field.js'; import type { ObcNumberInputFieldTextAlign, ObcNumberInputFieldSize, ObcNumberInputFieldPlacement } from '@oicl/openbridge-webcomponents/dist/components/number-input-field/number-input-field.js'; import type { Snippet } from 'svelte'; export interface Props { class?: string; style?: string; value?: string; unit?: string; placeholder?: string; textAlign?: ObcNumberInputFieldTextAlign; disabled?: boolean; readonly?: boolean; error?: boolean; errorText?: string; /** If true, the input field will not update its value on focus */ rejectUpdatesOnFocus?: boolean; /** If true, the value will only be initially set, and not updated on change */ rejectUpdates?: boolean; /** If true, the input field will not update its value if the value is the same as the previous value This is useful to avoid React re-rendering to reset the value. */ rejectDuplicateUpdates?: boolean; /** Name attribute for form integration */ name?: string; /** Maximum number of characters allowed */ maxlength?: number | undefined; /** Minimum number of characters required */ minlength?: number | undefined; size?: ObcNumberInputFieldSize; hasLeadingIcon?: boolean; helperText?: string; label?: string; required?: boolean; hasLabelIcon?: boolean; labelPlacement?: ObcNumberInputFieldPlacement; hasHelperIcon?: boolean; helperPlacement?: ObcNumberInputFieldPlacement; /** Internal property for squared corners, used when input is used in stepper-box */ squared?: boolean; } export interface Events { onInput?: (event: CustomEvent) => void; } export interface Slots { leadingIcon?: Snippet; labelIcon?: Snippet; helperIcon?: Snippet; } type $$ComponentProps = Props & Events & Slots; declare const ObcNumberInputField: import("svelte").Component<$$ComponentProps, { ObcNumberInputFieldTextAlign: typeof ObcNumberInputFieldTextAlign; ObcNumberInputFieldSize: typeof ObcNumberInputFieldSize; ObcNumberInputFieldPlacement: typeof ObcNumberInputFieldPlacement; }, "">; type ObcNumberInputField = ReturnType; export default ObcNumberInputField;