import { Option } from '@wolf-tui/shared'; export type UseMultiSelectStateProps = { visibleOptionCount?: number; options: Option[]; value?: () => string[] | undefined; defaultValue?: string[]; onChange?: (value: string[]) => void; onSubmit?: (value: string[]) => void; }; export type MultiSelectState = { focusedValue: () => string | undefined; visibleFromIndex: () => number; visibleToIndex: () => number; value: () => string[]; visibleOptions: () => Array