import type { PopoverDescriptionOptions } from "../popover/popover-description.js";
import type { As, Props } from "../utils/types.js";
import type { HovercardStore } from "./hovercard-store.js";
/**
 * Returns props to create a `HovercardDescription` component. This hook must be
 * used in a component that's wrapped with `Hovercard` so the `aria-describedby`
 * prop is properly set on the hovercard element.
 * @see https://ariakit.org/components/hovercard
 * @example
 * ```jsx
 * // This component must be wrapped with Hovercard
 * const props = useHovercardDescription();
 * <Role {...props}>Description</Role>
 * ```
 */
export declare const useHovercardDescription: import("../utils/types.js").Hook<HovercardDescriptionOptions<"p">>;
/**
 * Renders a description in a hovercard. This component must be wrapped with
 * `Hovercard` so the `aria-describedby` prop is properly set on the hovercard
 * element.
 * @see https://ariakit.org/components/hovercard
 * @example
 * ```jsx
 * const hovercard = useHovercardStore();
 * <Hovercard store={hovercard}>
 *   <HovercardDescription>Description</HovercardDescription>
 * </Hovercard>
 * ```
 */
export declare const HovercardDescription: import("../utils/types.js").Component<HovercardDescriptionOptions<"p">>;
export interface HovercardDescriptionOptions<T extends As = "p"> extends PopoverDescriptionOptions<T> {
    /**
     * Object returned by the `useHovercardStore` hook. If not provided, the
     * parent `Hovercard` component's context will be used.
     */
    store?: HovercardStore;
}
export type HovercardDescriptionProps<T extends As = "p"> = Props<HovercardDescriptionOptions<T>>;
