import { ActionListItemKind } from '@viasat/beam-shared/components/actionList'; import { UseInteractionsReturn } from '@floating-ui/react'; import { JSXElementConstructor, ReactNode } from 'react'; export interface ActionListContextValue { elementsRef?: React.MutableRefObject>; labelsRef?: React.MutableRefObject>; onItemClick?: (index: number, kind: ActionListItemKind, event: Event) => void; itemsFocusable?: boolean; getItemProps?: UseInteractionsReturn['getItemProps']; parentContext?: ActionListContextValue; insideMenu?: boolean; allowChildrenTypes?: JSXElementConstructor[]; activeIndex?: number | null; } export declare const ActionListContext: import('react').Context; export declare const ActionListContextProvider: ({ children, elementsRef, labelsRef, itemsFocusable, onItemClick, insideMenu, allowChildrenTypes, getItemProps, parentContext, activeIndex, append, }: ActionListContextValue & { children: ReactNode; append?: boolean; }) => import("react/jsx-runtime").JSX.Element; export declare const ActionListParentContextProvider: ({ children, }: { children: ReactNode; }) => JSX.Element; export declare const useActionListContext: () => { elementsRef: import('react').MutableRefObject<(HTMLElement | null)[]>; labelsRef: import('react').MutableRefObject<(string | null)[]>; itemsFocusable: boolean; onItemClick: ((index: number, kind: ActionListItemKind, event: Event) => void) | undefined; getItemProps: ((userProps?: Omit, "selected" | "active"> & { active?: boolean; selected?: boolean; }) => Record) | ((props: any) => any); insideMenu: boolean; allowChildrenTypes: JSXElementConstructor[] | undefined; parentContext: ActionListContextValue | undefined; activeIndex: number | null; };