import type { ComponentChild, RefObject, TargetedKeyboardEvent } from 'preact';
import type { SelectFocus } from '../Select/useSelectFocus';
import type { AddressSpecificSelectItem, SelectItem } from '../Select/Select.types';
export interface SelectListProps {
    active: SelectItem[];
    filteredItems: ReadonlyArray<SelectItem>;
    onKeyDown: (e: TargetedKeyboardEvent<HTMLLIElement>, item: SelectItem) => void;
    onSelect: (item: SelectItem) => void;
    selectListId: string;
    showList: boolean;
    textFilter: string;
    isMulti: boolean;
    isSearch?: boolean;
    loading?: boolean;
    getSearchItem?: (item: AddressSpecificSelectItem) => ComponentChild;
    maxVisibleItems?: number;
    focusProps: SelectFocus;
    inputRef: RefObject<HTMLInputElement>;
    minimal?: boolean;
}
