UNPKG

@workday/canvas-kit-react

Version:

The parent module that contains all Workday Canvas Kit React components

1,243 lines • 214 kB
import * as React from 'react'; export interface ActionBarProps { /** * The contents of the ActionBar. Can be `ActionBar` children or any valid elements. */ children: React.ReactNode; } /** * `ActionBar` is a container component that is responsible for creating an {@link ActionBarModel} * and sharing it with its subcomponents using React context. It does not represent a real element. * * ```tsx * <ActionBar items={[]}>{Child components}</ActionBar> * ``` * * Alternatively, you may pass in a model using the hoisted model pattern. * * ```tsx * const model = useActionBarModel({ * items: [], * }); * * <ActionBar model={model}>{Child components}</ActionBar>; * ``` */ export declare const ActionBar: import("@workday/canvas-kit-react/common").ComponentM<ActionBarProps & Partial<{ id: string; orientation: import("../..").Orientation; menuConfig: Partial<{ mode: "multiple" | "single"; shouldVirtualize: boolean; returnFocusRef: React.RefObject<any> | undefined; initialFocusRef: React.RefObject<any> | undefined; id: string; initialVisibility: import("../..").Visibility; initialSelectedIds: import("../..").SelectedIds; initialUnselectedIds: string[]; selection: import("../..").SelectionManager; initialCursorId: string; columnCount: number; navigation: import("../..").NavigationManager; pageSize: number; getId: (item: any) => string; getTextValue: (item: any) => string; nonInteractiveIds: string[]; orientation: import("../..").Orientation; defaultItemHeight: number; items: any[]; }>; maximumVisible: number; initialHiddenIds: string[]; containerWidth: number; shouldCalculateOverflow: boolean; initialSelectedIds: import("../..").SelectedIds; initialUnselectedIds: string[]; selection: import("../..").SelectionManager; initialCursorId: string; columnCount: number; navigation: import("../..").NavigationManager; pageSize: number; getId: (item: any) => string; getTextValue: (item: any) => string; nonInteractiveIds: string[]; defaultItemHeight: number; shouldVirtualize: boolean; items: any[]; }> & { onSelect?: ((data: { id: string; }, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onSetContainerSize?: ((data: { width?: number | undefined; height?: number | undefined; }, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onSetContainerWidth?: ((data: { width?: number | undefined; }, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onSetContainerGap?: ((data: { size: number; }, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onSetOverflowTargetSize?: ((data: { width: number; height: number; }, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onSetOverflowTargetWidth?: ((data: { width: number; }, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onAddItemWidth?: ((data: { id: string; width: number; }, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onAddItemSize?: ((data: { id: string; width: number; height: number; }, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onRemoveItemSize?: ((data: { id: string; }, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onRemoveItemWidth?: ((data: { id: string; }, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onAddHiddenKey?: ((data: { id: string; }, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onRemoveHiddenKey?: ((data: { id: string; }, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onSelectAll?: ((data: undefined, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onUnselectAll?: ((data: undefined, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onSetSelectedIds?: ((data: string[] | "all", prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onRemove?: ((data: { id: string; nextId?: string | undefined; event?: Event | React.SyntheticEvent<Element, Event> | undefined; }, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onGoTo?: ((data: { id: string; }, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onGoToNext?: ((data: undefined, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onGoToPrevious?: ((data: undefined, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onGoToPreviousRow?: ((data: undefined, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onGoToNextRow?: ((data: undefined, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onGoToFirst?: ((data: undefined, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onGoToLast?: ((data: undefined, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onGoToFirstOfRow?: ((data: undefined, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onGoToLastOfRow?: ((data: undefined, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onGoToNextPage?: ((data: undefined, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onGoToPreviousPage?: ((data: undefined, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onRegisterItem?: ((data: { id: string; textValue: string; }, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onUnregisterItem?: ((data: { id: string; }, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; onUpdateItemHeight?: ((data: { value: number; }, prevState: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => void) | undefined; } & { shouldSelect?: ((data: { id: string; }, state: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => boolean) | undefined; shouldSetContainerSize?: ((data: { width?: number | undefined; height?: number | undefined; }, state: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => boolean) | undefined; shouldSetContainerWidth?: ((data: { width?: number | undefined; }, state: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => boolean) | undefined; shouldSetContainerGap?: ((data: { size: number; }, state: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => boolean) | undefined; shouldSetOverflowTargetSize?: ((data: { width: number; height: number; }, state: { hiddenIds: string[]; nonInteractiveIds: string[]; orientation: import("../..").Orientation; itemSizeCache: Record<string, number>; itemWidthCache: Record<string, number>; containerSize: number; containerWidth: number; containerGap: number; overflowTargetWidth: number; selectedIds: string[] | "all"; unselectedIds: string[]; cursorId: string; columnCount: number; pageSizeRef: React.MutableRefObject<number>; cursorIndexRef: { readonly current: number; }; UNSTABLE_virtual: { virtualItems: import("../..").VirtualItem[]; totalSize: number; scrollToOffset: (index: number, options?: import("../..").ScrollToOffsetOptions | undefined) => void; scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void; measure: () => void; }; UNSTABLE_defaultItemHeight: number; containerRef: React.RefObject<HTMLDivElement>; id: string; indexRef: React.MutableRefObject<number>; isVirtualized: boolean; items: import("../..").Item<any>[]; }) => boolean) | undefined; shouldSetO