import type { FocusedItemIdentifier } from "../../../../models/seriesType/index.mjs"; import type { ChartSeriesType } from "../../../../models/seriesType/config.mjs"; import type { ItemActivationHandler, ItemActivationScope } from "./useChartKeyboardNavigation.types.mjs"; export type ItemActivationRegistration = { scope: ItemActivationScope; handler: ItemActivationHandler; }; export declare function isItemActivationKey(event: KeyboardEvent): boolean; /** * Returns the handler matching the item with the most specific scope, the highest priority * breaking ties, or `null` when none matches. */ export declare function findItemActivationHandler(registrations: Iterable, item: FocusedItemIdentifier): ItemActivationHandler | null;