import React from 'react';
import { Item } from '@workday/canvas-kit-react/collection';
/**
* `MultiSelectModel` extends the {@link ComboboxModel}. Selecting items from
* the menu will dispatch an
* [input](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event) event on the
* input which should work with form libraries, automation and autofill.
*
* ```tsx
* const model = useMultiSelectModel({items: ['Mobile', 'Phone', 'E-Mail']})
*
*
* ...
*
* ```
*/
export declare const useMultiSelectModel: ((config?: (Partial<{
mode: "multiple";
shouldVirtualize: boolean;
returnFocusRef: React.RefObject | undefined;
initialFocusRef: React.RefObject | undefined;
id: string;
initialVisibility: import("@workday/canvas-kit-react/disclosure").Visibility;
initialSelectedIds: import("@workday/canvas-kit-react/collection").SelectedIds;
initialUnselectedIds: string[];
selection: import("@workday/canvas-kit-react/collection").SelectionManager;
initialCursorId: string | string[];
columnCount: number;
navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
pageSize: number;
getId: (item: any) => string;
getTextValue: (item: any) => string;
nonInteractiveIds: string[];
orientation: import("@workday/canvas-kit-react/collection").Orientation;
defaultItemHeight: number;
items: any[];
UNSTABLE_parentModel: {
state: {
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
id: string;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
};
events: {
select(data: {
id: string;
}): void;
selectAll(): void;
unselectAll(): void;
setSelectedIds(ids: string[] | "all"): void;
remove(data: {
id: string;
nextId?: string | undefined;
event?: Event | React.SyntheticEvent | undefined;
}): void;
goTo(data: {
id: string;
}): void;
goToNext(): void;
goToPrevious(): void;
goToPreviousRow(): void;
goToNextRow(): void;
goToFirst(): void;
goToLast(): void;
goToFirstOfRow(): void;
goToLastOfRow(): void;
goToNextPage(): void;
goToPreviousPage(): void;
registerItem(data: {
id: string;
textValue: string;
}): void;
unregisterItem(data: {
id: string;
}): void;
updateItemHeight(data: {
value: number;
}): void;
};
selection: import("@workday/canvas-kit-react/collection").SelectionManager;
navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
getId: (item: any) => string;
getTextValue: (item: any) => string;
} | undefined;
value: string | undefined;
onFilterChange(event: React.ChangeEvent): void;
onChange(event: React.ChangeEvent): void;
}> & {
onSetWidth?: ((data: number, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onUpdatePlacement?: ((data: {
placement: import("@popperjs/core").Placement;
}, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onShow?: ((data: Event | React.SyntheticEvent | undefined, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onHide?: ((data: Event | React.SyntheticEvent | undefined, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onSelect?: ((data: {
id: string;
}, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onSelectAll?: ((data: undefined, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onUnselectAll?: ((data: undefined, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onSetSelectedIds?: ((data: string[] | "all", prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onRemove?: ((data: {
id: string;
nextId?: string | undefined;
event?: Event | React.SyntheticEvent | undefined;
}, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onGoTo?: ((data: {
id: string;
}, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onGoToNext?: ((data: undefined, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onGoToPrevious?: ((data: undefined, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onGoToPreviousRow?: ((data: undefined, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onGoToNextRow?: ((data: undefined, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onGoToFirst?: ((data: undefined, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onGoToLast?: ((data: undefined, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onGoToFirstOfRow?: ((data: undefined, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onGoToLastOfRow?: ((data: undefined, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onGoToNextPage?: ((data: undefined, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onGoToPreviousPage?: ((data: undefined, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onRegisterItem?: ((data: {
id: string;
textValue: string;
}, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item[];
mode: "multiple" | "single";
value: string | undefined;
inputRef: React.RefObject;
width: number;
}) => void) | undefined;
onUnregisterItem?: ((data: {
id: string;
}, prevState: {
searchInputRef: React.RefObject;
stackRef: React.RefObject;
targetRef: React.RefObject;
initialFocusRef: React.RefObject | undefined;
returnFocusRef: React.RefObject | undefined;
placement: import("@popperjs/core").Placement;
id: string;
visibility: "hidden" | "visible";
selectedIds: string[] | "all";
unselectedIds: string[];
cursorId: string | string[];
columnCount: number;
pageSizeRef: React.MutableRefObject;
cursorIndexRef: {
readonly current: number;
};
UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer;
UNSTABLE_defaultItemHeight: number;
containerRef: React.RefObject;
orientation: "horizontal" | "vertical";
indexRef: React.MutableRefObject;
nonInteractiveIds: string[];
isVirtualized: boolean;
items: Item