import { HTMLSelectAttributes } from 'svelte/elements'; import { DefaultProps, Override, SvelteUISize } from '../../styles'; import { InputBaseProps } from '../Input/Input'; import { InputWrapperBaseProps } from '../InputWrapper/InputWrapper'; export interface SelectItem { value: string; label?: string; disabled?: boolean; group?: string; [key: string]: any; } interface NativeSelectPropsInternal extends DefaultProps { id?: string; placeholder?: string; data?: (string | SelectItem)[]; inputStyle?: Override['props']; wrapperProps?: Record; size?: SvelteUISize; } export type NativeSelectProps = NativeSelectPropsInternal & InputBaseProps & Omit & InputWrapperBaseProps;