import type { ElementType } from "react"; import type { DialogDisclosureOptions } from "../dialog/dialog-disclosure.tsx"; import type { Props } from "../utils/types.ts"; import type { PopoverAnchorOptions } from "./popover-anchor.tsx"; declare const TagName = "button"; type TagName = typeof TagName; /** * Returns props to create a `PopoverDisclosure` component. * @see https://ariakit.com/components/popover * @example * ```jsx * const store = usePopoverStore(); * const props = usePopoverDisclosure({ store }); * Disclosure * Popover * ``` */ export declare const usePopoverDisclosure: import("../utils/types.ts").Hook<"button", PopoverDisclosureOptions<"button">>; /** * Renders a button that controls the visibility of the * [`Popover`](https://ariakit.com/reference/popover) component when clicked. * @see https://ariakit.com/components/popover * @example * ```jsx {2} * * Disclosure * Popover * * ``` */ export declare const PopoverDisclosure: (props: PopoverDisclosureProps) => import("react").ReactElement>; export interface PopoverDisclosureOptions extends PopoverAnchorOptions, Omit, "store"> { } export type PopoverDisclosureProps = Props>; export {};