import { PopoverAnchorOptions } from "../popover/popover-anchor.js";
import { t as SelectStore } from "../select-store-C8tHSVWh.js";
import { Props } from "@ariakit/react-utils";
import { ElementType } from "react";
//#region src/select/select-anchor.d.ts
declare const TagName = "div";
type TagName = typeof TagName;
/**
 * Returns props to create a `SelectAnchor` component.
 * @deprecated Use `useComboboxAnchor` instead.
 * @see https://ariakit.com/components/select
 * @example
 * ```jsx
 * const store = useSelectStore();
 * const props = useSelectAnchor({ store });
 * <Role {...props}>Anchor</Role>
 * <Select store={store} />
 * <SelectPopover store={store}>Content</SelectPopover>
 * ```
 */
declare const useSelectAnchor: import("@ariakit/react-utils").Hook<"div", SelectAnchorOptions<"div">>;
/**
 * Renders an element that acts as the anchor for the
 * [`SelectPopover`](https://ariakit.com/reference/select-popover) component.
 * @deprecated Use
 * [`ComboboxAnchor`](https://ariakit.com/reference/combobox-anchor) instead.
 * @see https://ariakit.com/components/select
 * @example
 * ```jsx {3}
 * <SelectProvider>
 *   <Select />
 *   <SelectAnchor>Anchor</SelectAnchor>
 *   <SelectPopover>Content</SelectPopover>
 * </SelectProvider>
 * ```
 */
declare const SelectAnchor: (props: SelectAnchorProps) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
/** @deprecated Use `ComboboxAnchorOptions` instead. */
interface SelectAnchorOptions<T extends ElementType = TagName> extends PopoverAnchorOptions<T> {
  /**
   * Object returned by the
   * [`useSelectStore`](https://ariakit.com/reference/use-select-store) hook. If
   * not provided, the closest
   * [`SelectProvider`](https://ariakit.com/reference/select-provider)
   * component's context will be used.
   */
  store?: SelectStore;
}
/** @deprecated Use `ComboboxAnchorProps` instead. */
type SelectAnchorProps<T extends ElementType = TagName> = Props<T, SelectAnchorOptions<T>>;
//#endregion
export { SelectAnchor, SelectAnchorOptions, SelectAnchorProps, useSelectAnchor };
//# sourceMappingURL=select-anchor.d.ts.map