import { TooltipStore } from "./tooltip-store.js";
//#region src/tooltip/tooltip-context.d.ts
/**
 * Returns the tooltip store from the nearest tooltip container.
 * @example
 * function Tooltip() {
 *   const store = useTooltipContext();
 *
 *   if (!store) {
 *     throw new Error("Tooltip must be wrapped in TooltipProvider");
 *   }
 *
 *   // Use the store...
 * }
 */
declare const useTooltipContext: () => TooltipStore | undefined;
declare const useTooltipScopedContext: (onlyScoped?: boolean) => TooltipStore | undefined;
declare const useTooltipProviderContext: () => TooltipStore | undefined;
declare const TooltipContextProvider: (props: import("react").ProviderProps<TooltipStore | undefined>) => import("react").JSX.Element;
declare const TooltipScopedContextProvider: (props: import("react").ProviderProps<TooltipStore | undefined>) => import("react").JSX.Element;
//#endregion
export { TooltipContextProvider, TooltipScopedContextProvider, useTooltipContext, useTooltipProviderContext, useTooltipScopedContext };
//# sourceMappingURL=tooltip-context.d.ts.map