import { t as CollectionStore } from "../collection-store-CS0ODeba.js";
import { Options, Props } from "@ariakit/react-utils";
import { ElementType } from "react";
//#region src/collection/collection.d.ts
declare const TagName = "div";
type TagName = typeof TagName;
/**
 * Returns props to create a `Collection` component. It receives the collection
 * store through the `store` prop and provides context for `CollectionItem`
 * components.
 * @see https://ariakit.com/components/collection
 * @example
 * ```jsx
 * const collection = useCollectionStore();
 * const props = useCollection({ store });
 * <Role {...props}>
 *   <CollectionItem>Item 1</CollectionItem>
 *   <CollectionItem>Item 2</CollectionItem>
 *   <CollectionItem>Item 3</CollectionItem>
 * </Role>
 * ```
 */
declare const useCollection: import("@ariakit/react-utils").Hook<"div", CollectionOptions<"div">>;
/**
 * Renders a simple wrapper for collection items. It accepts a collection store
 * through the [`store`](https://ariakit.com/reference/collection#store) prop
 * and provides context for
 * [`CollectionItem`](https://ariakit.com/reference/collection-item) components.
 * @see https://ariakit.com/components/collection
 * @example
 * ```jsx
 * const collection = useCollectionStore();
 * <Collection store={collection}>
 *   <CollectionItem>Item 1</CollectionItem>
 *   <CollectionItem>Item 2</CollectionItem>
 *   <CollectionItem>Item 3</CollectionItem>
 * </Collection>
 * ```
 */
declare const Collection: (props: CollectionProps) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
interface CollectionOptions<_T extends ElementType = TagName> extends Options {
  /**
   * Object returned by the
   * [`useCollectionStore`](https://ariakit.com/reference/use-collection-store)
   * hook. If not provided, the closest
   * [`CollectionProvider`](https://ariakit.com/reference/collection-provider)
   * component's context will be used.
   */
  store?: CollectionStore;
}
type CollectionProps<T extends ElementType = TagName> = Props<T, CollectionOptions<T>>;
//#endregion
export { Collection, CollectionOptions, CollectionProps, useCollection };
//# sourceMappingURL=collection.d.ts.map