import type { HeadingOptions } from "../heading/heading.js";
import type { As, Props } from "../utils/types.js";
import type { DialogStore } from "./dialog-store.js";
/**
 * Returns props to create a `DialogHeading` component. This hook must be used
 * in a component that's wrapped with `Dialog` so the `aria-labelledby` prop is
 * properly set on the dialog element.
 * @see https://ariakit.org/components/dialog
 * @example
 * ```jsx
 * // This component must be wrapped with Dialog
 * const props = useDialogHeading();
 * <Role {...props}>Heading</Role>
 * ```
 */
export declare const useDialogHeading: import("../utils/types.js").Hook<DialogHeadingOptions<"h1">>;
/**
 * Renders a heading in a dialog. This component must be wrapped with `Dialog`
 * so the `aria-labelledby` prop is properly set on the dialog element.
 * @see https://ariakit.org/components/dialog
 * @example
 * ```jsx
 * const dialog = useDialogStore();
 * <Dialog store={dialog}>
 *   <DialogHeading>Heading</DialogHeading>
 * </Dialog>
 * ```
 */
export declare const DialogHeading: import("../utils/types.js").Component<DialogHeadingOptions<"h1">>;
export interface DialogHeadingOptions<T extends As = "h1"> extends HeadingOptions<T> {
    /**
     * Object returned by the `useDialogStore` hook. If not provided, the parent
     * `Dialog` component's context will be used.
     */
    store?: DialogStore;
}
export type DialogHeadingProps<T extends As = "h1"> = Props<DialogHeadingOptions<T>>;
