import * as React from 'react'; import type { ElementProps } from "../types.js"; import { ACTIVE_KEY, SELECTED_KEY } from "../utils/constants.js"; export type ExtendedUserProps = { [ACTIVE_KEY]?: boolean; [SELECTED_KEY]?: boolean; }; export interface UseInteractionsReturn { getReferenceProps: (userProps?: React.HTMLProps) => Record; getFloatingProps: (userProps?: React.HTMLProps) => Record; getItemProps: (userProps?: Omit, 'selected' | 'active'> & ExtendedUserProps) => Record; getTriggerProps: (userProps?: React.HTMLProps) => Record; } /** * Merges an array of interaction hooks' props into prop getters, allowing * event handler functions to be composed together without overwriting one * another. * @see https://floating-ui.com/docs/useInteractions */ export declare function useInteractions(propsList?: Array): UseInteractionsReturn;