import React from 'react'; export type onActionEvent = React.MouseEvent | React.KeyboardEvent; export type onActionCallbackFunction = (key: string, event: onActionEvent) => void; export type ActionListSelectionType = 'single' | 'multiple'; type ActionListContext = { role: 'list' | 'menu' | 'listbox' | null; selectionType: ActionListSelectionType | null; onAction?: onActionCallbackFunction; }; type ActionListProviderProps = { children: React.ReactNode; } & ActionListContext; declare const ActionListContext: React.Context; declare function ActionListProvider({ role, selectionType, onAction, children }: ActionListProviderProps): React.JSX.Element; declare function useActionListContext(): ActionListContext; export { ActionListProvider, useActionListContext };