import { type Dispatch, type MutableRefObject, type SetStateAction, type SyntheticEvent } from "react"; import type { useCollection } from "./hooks/useCollection"; export interface Item { id: string; value: string; element: HTMLElement; } export interface TabsNextContextValue extends Omit, "registerItem"> { registerTab: (item: Item) => () => void; registerPanel: (id: string, value: string) => () => void; getPanelId: (value: string) => string | undefined; getTabId: (value: string) => string | undefined; selected?: string; setSelected: (event: SyntheticEvent, value: string) => void; activeTab: MutableRefObject | undefined>; removedActiveTabRef: MutableRefObject; menuOpen: boolean; setMenuOpen: Dispatch>; } export declare const TabsNextContext: import("react").Context; export declare function useTabsNext(): TabsNextContextValue;