import { type Scope } from "@loke/ui/context"; import { type Slot } from "@loke/ui/slot"; import React from "react"; type SlotProps = React.ComponentPropsWithoutRef; type CollectionElement = HTMLElement; interface CollectionProps extends SlotProps { scope: any; } declare function createCollection(name: string): readonly [{ readonly ItemSlot: React.ForwardRefExoticComponent; itemMap: Map, { ref: React.RefObject; } & ItemData>; } | undefined>; }> & React.RefAttributes>; readonly Provider: React.FC<{ children?: React.ReactNode; scope: Scope<{ collectionRef: React.RefObject; itemMap: Map, { ref: React.RefObject; } & ItemData>; }>; }>; readonly Slot: React.ForwardRefExoticComponent>; }, (scope: any) => () => ({ ref: React.RefObject; } & ItemData)[], import("@loke/ui/context").CreateScope]; export { createCollection }; export type { CollectionProps };