import type { HovercardAnchorOptions } from "../hovercard/hovercard-anchor.js";
import type { As, Props } from "../utils/types.js";
import type { TooltipStore } from "./tooltip-store.js";
/**
 * Returns props to create a `TooltipAnchor` component.
 * @see https://ariakit.org/components/tooltip
 * @example
 * ```jsx
 * const store = useToolTipStore();
 * const props = useTooltipAnchor({ store });
 * <Role {...props}>Anchor</Role>
 * <Tooltip store={store}>Tooltip</Tooltip>
 * ```
 */
export declare const useTooltipAnchor: import("../utils/types.js").Hook<TooltipAnchorOptions<"div">>;
/**
 * Renders an element that will be labelled or described by a `Tooltip`
 * component. This component will also be used as the reference to position the
 * tooltip on the screen.
 * @see https://ariakit.org/components/tooltip
 * @example
 * ```jsx
 * const tooltip = useTooltipStore();
 * <TooltipAnchor store={tooltip}>Anchor</TooltipAnchor>
 * <Tooltip store={tooltip}>Tooltip</Tooltip>
 * ```
 */
export declare const TooltipAnchor: import("../utils/types.js").Component<TooltipAnchorOptions<"div">>;
export interface TooltipAnchorOptions<T extends As = "div"> extends HovercardAnchorOptions<T> {
    /**
     * Object returned by the `useTooltipStore` hook.
     */
    store: TooltipStore;
}
export type TooltipAnchorProps<T extends As = "div"> = Props<TooltipAnchorOptions<T>>;
