import '@oicl/openbridge-webcomponents/dist/components/text-input-field/text-input-field.js'; import type { HTMLInputTypeAttribute, ObcTextInputFieldTextAlign, ObcTextInputFieldSize, ObcTextInputFieldPlacement } from '@oicl/openbridge-webcomponents/dist/components/text-input-field/text-input-field.js'; import type { Snippet } from 'svelte'; export interface Props { class?: string; style?: string; value?: string; placeholder?: string; type?: HTMLInputTypeAttribute; textAlign?: ObcTextInputFieldTextAlign; 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?: ObcTextInputFieldSize; hasLeadingIcon?: boolean; /** Shows a clear button when the input has a value */ hasClearButton?: boolean; helperText?: string; label?: string; required?: boolean; hasLabelIcon?: boolean; labelPlacement?: ObcTextInputFieldPlacement; hasHelperIcon?: boolean; helperPlacement?: ObcTextInputFieldPlacement; } export interface Events { onInput?: (event: CustomEvent) => void; onChange?: (event: CustomEvent) => void; onClear?: (event: CustomEvent) => void; onBlur?: (event: CustomEvent) => void; } export interface Slots { leadingIcon?: Snippet; labelIcon?: Snippet; helperIcon?: Snippet; } type $$ComponentProps = Props & Events & Slots; declare const ObcTextInputField: import("svelte").Component<$$ComponentProps, { HTMLInputTypeAttribute: typeof HTMLInputTypeAttribute; ObcTextInputFieldTextAlign: typeof ObcTextInputFieldTextAlign; ObcTextInputFieldSize: typeof ObcTextInputFieldSize; ObcTextInputFieldPlacement: typeof ObcTextInputFieldPlacement; }, "">; type ObcTextInputField = ReturnType; export default ObcTextInputField;