import type { ElementType } from "react";
import type { PopoverHeadingOptions } from "../popover/popover-heading.tsx";
import type { Props } from "../utils/types.ts";
import type { HovercardStore } from "./hovercard-store.ts";
declare const TagName = "h1";
type TagName = typeof TagName;
/**
* Returns props to create a `HovercardHeading` component. This hook must be
* used in a component that's wrapped with `Hovercard` so the `aria-labelledby`
* prop is properly set on the hovercard element.
* @see https://ariakit.com/components/hovercard
* @example
* ```jsx
* // This component must be wrapped with Hovercard
* const props = useHovercardHeading();
* Heading
* ```
*/
export declare const useHovercardHeading: import("../utils/types.ts").Hook<"h1", HovercardHeadingOptions<"h1">>;
/**
* Renders a heading in a hovercard. This component must be wrapped within
* [`Hovercard`](https://ariakit.com/reference/hovercard) so the
* `aria-labelledby` prop is properly set on the content element.
* @see https://ariakit.com/components/hovercard
* @example
* ```jsx {3}
*
*
* Heading
*
*
* ```
*/
export declare const HovercardHeading: (props: HovercardHeadingProps) => import("react").ReactElement>;
export interface HovercardHeadingOptions extends PopoverHeadingOptions {
/**
* Object returned by the
* [`useHovercardStore`](https://ariakit.com/reference/use-hovercard-store)
* hook. If not provided, the closest
* [`Hovercard`](https://ariakit.com/reference/hovercard) or
* [`HovercardProvider`](https://ariakit.com/reference/hovercard-provider)
* components' context will be used.
*/
store?: HovercardStore;
}
export type HovercardHeadingProps = Props>;
export {};