import * as React from 'react'; import { ReactStore } from '@base-ui-components/utils/store'; import { type TooltipRoot } from "../root/TooltipRoot.js"; import { PopupStoreContext, PopupStoreState } from "../../utils/popups/index.js"; export type State = PopupStoreState & { disabled: boolean; instantType: 'delay' | 'dismiss' | 'focus' | undefined; isInstantPhase: boolean; trackCursorAxis: 'none' | 'x' | 'y' | 'both'; disableHoverablePopup: boolean; openChangeReason: TooltipRoot.ChangeEventReason | null; closeDelay: number; }; export type Context = PopupStoreContext & { readonly popupRef: React.RefObject; }; declare const selectors: { disabled: (state: State) => boolean; instantType: (state: State) => "delay" | "focus" | "dismiss" | undefined; isInstantPhase: (state: State) => boolean; trackCursorAxis: (state: State) => "none" | "both" | "x" | "y"; disableHoverablePopup: (state: State) => boolean; lastOpenChangeReason: (state: State) => import("../index.js").TooltipRootChangeEventReason | null; closeDelay: (state: State) => number; open: (state: PopupStoreState) => boolean; mounted: (state: PopupStoreState) => boolean; transitionStatus: (state: PopupStoreState) => import("../../utils/useTransitionStatus.js").TransitionStatus; floatingRootContext: (state: PopupStoreState) => import("../../floating-ui-react/components/FloatingRootStore.js").FloatingRootStore; preventUnmountingOnClose: (state: PopupStoreState) => boolean; payload: (state: PopupStoreState) => unknown; activeTriggerId: (state: PopupStoreState) => string | null; activeTriggerElement: (state: PopupStoreState) => Element | null; isTriggerActive: (state: PopupStoreState, triggerId: string | undefined) => boolean; isOpenedByTrigger: (state: PopupStoreState, triggerId: string | undefined) => boolean; isMountedByTrigger: (state: PopupStoreState, triggerId: string | undefined) => boolean; triggerProps: (state: PopupStoreState, isActive: boolean) => import("../../utils/types.js").HTMLProps; popupProps: (state: PopupStoreState) => import("../../utils/types.js").HTMLProps; popupElement: (state: PopupStoreState) => HTMLElement | null; positionerElement: (state: PopupStoreState) => HTMLElement | null; }; export declare class TooltipStore extends ReactStore>, Context, typeof selectors> { constructor(initialState?: Partial>); setOpen: (nextOpen: boolean, eventDetails: Omit) => void; static useStore(externalStore: TooltipStore | undefined, initialState?: Partial>): TooltipStore; } export {};