import type { As, Options, Props } from "../utils/types.js";
import type { PopoverStore } from "./popover-store.js";
/**
 * Returns props to create a `PopoverArrow` component.
 * @see https://ariakit.org/components/popover
 * @example
 * ```jsx
 * const store = usePopoverStore();
 * const props = usePopoverArrow({ store });
 * <Popover store={store}>
 *   <Role {...props} />
 *   Popover
 * </Popover>
 * ```
 */
export declare const usePopoverArrow: import("../utils/types.js").Hook<PopoverArrowOptions<"div">>;
/**
 * Renders an arrow inside a `Popover` component.
 * @see https://ariakit.org/components/popover
 * @example
 * ```jsx
 * const popover = usePopoverStore();
 * <Popover store={popover}>
 *   <PopoverArrow />
 *   Popover
 * </Popover>
 * ```
 */
export declare const PopoverArrow: import("../utils/types.js").Component<PopoverArrowOptions<"div">>;
export interface PopoverArrowOptions<T extends As = "div"> extends Options<T> {
    /**
     * Object returned by the `usePopoverStore` hook. If not provided, the parent
     * `Popover` component's context will be used.
     */
    store?: PopoverStore;
    /**
     * The size of the arrow.
     * @default 30
     */
    size?: number;
}
export type PopoverArrowProps<T extends As = "div"> = Props<PopoverArrowOptions<T>>;
