import { a as PopoverStoreState, t as PopoverStore } from "../popover-store-BJQhU0yZ.js";
import { Options, Props } from "@ariakit/react-utils";
import { ElementType } from "react";
//#region src/popover/popover-disclosure-arrow.d.ts
declare const TagName = "span";
type TagName = typeof TagName;
/**
 * Returns props to create a `PopoverDisclosureArrow` component.
 * @see https://ariakit.com/components/popover
 * @example
 * ```jsx
 * const store = usePopoverStore();
 * const props = usePopoverDisclosureArrow({ store });
 * <PopoverDisclosure store={store}>
 *   Disclosure
 *   <Role {...props} />
 * </PopoverDisclosure>
 * ```
 */
declare const usePopoverDisclosureArrow: import("@ariakit/react-utils").Hook<"span", PopoverDisclosureArrowOptions<"span">>;
/**
 * Renders an arrow pointing to the popover position. It's usually rendered
 * inside the
 * [`PopoverDisclosure`](https://ariakit.com/reference/popover-disclosure)
 * component.
 * @see https://ariakit.com/components/popover
 * @example
 * ```jsx {4}
 * <PopoverProvider>
 *   <PopoverDisclosure>
 *     Disclosure
 *     <PopoverDisclosureArrow />
 *   </PopoverDisclosure>
 *   <Popover>Popover</Popover>
 * </PopoverProvider>
 * ```
 */
declare const PopoverDisclosureArrow: (props: PopoverDisclosureArrowProps) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
interface PopoverDisclosureArrowOptions<_T extends ElementType = TagName> extends Options {
  /**
   * Object returned by the
   * [`usePopoverStore`](https://ariakit.com/reference/use-popover-store) hook.
   * If not provided, the closest
   * [`PopoverDisclosure`](https://ariakit.com/reference/popover-disclosure) or
   * [`PopoverProvider`](https://ariakit.com/reference/popover-provider)
   * components' context will be used.
   */
  store?: PopoverStore;
  /**
   * Arrow's placement direction. If not provided, it will be inferred from the
   * context.
   *
   * Live examples:
   * - [Sliding Menu](https://ariakit.com/examples/menu-slide)
   */
  placement?: PopoverStoreState["placement"];
}
type PopoverDisclosureArrowProps<T extends ElementType = TagName> = Props<T, PopoverDisclosureArrowOptions<T>>;
//#endregion
export { PopoverDisclosureArrow, PopoverDisclosureArrowOptions, PopoverDisclosureArrowProps, usePopoverDisclosureArrow };
//# sourceMappingURL=popover-disclosure-arrow.d.ts.map