import { Collection, CollectionStateBase, Node } from '@react-types/shared'; import { ReactElement } from 'react'; interface CollectionOptions>> extends Omit, 'children'> { children?: ReactElement | null | (ReactElement | null)[] | ((item: T) => ReactElement | null); } type CollectionFactory>> = (node: Iterable>) => C; export declare function useCollection> = Collection>>(props: CollectionOptions, factory: CollectionFactory, context?: unknown): C; export {};