import * as React from 'react'; import { ListAction } from './listActions.types'; import { ListItemState } from './useList.types'; export interface ListContextValue { dispatch: (action: ListAction) => void; getItemState: (item: ItemValue) => ListItemState; registerHighlightChangeHandler: (handler: (item: ItemValue | null) => void) => () => void; registerSelectionChangeHandler: (handler: (items: ItemValue | ItemValue[] | null) => void) => () => void; } export declare const ListContext: React.Context | null>;