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