import type { JSX } from "solid-js"; declare const ACTIVE_KEY = "active"; declare const SELECTED_KEY = "selected"; interface ExtendedUserProps { [ACTIVE_KEY]?: boolean; [SELECTED_KEY]?: boolean; } interface ElementProps { reference?: JSX.HTMLAttributes; floating?: JSX.HTMLAttributes; item?: JSX.HTMLAttributes | ((props: ExtendedUserProps) => JSX.HTMLAttributes); } interface UseInteractionsReturn { getReferenceProps: (userProps?: JSX.HTMLAttributes) => Record; getFloatingProps: (userProps?: JSX.HTMLAttributes) => Record; getItemProps: (userProps?: Omit, "selected" | "active"> & ExtendedUserProps) => Record; } declare function useInteractions(propsList?: Array): UseInteractionsReturn; export type { UseInteractionsReturn, ElementProps, ExtendedUserProps }; export { useInteractions };