/// <reference types="react" />
import { CollectionChildren } from "@react-types/shared";
/**
 * A hook that parses collection children into Options and the Footer
 * @param children
 * @returns
 */
export declare function useCollectionComponents<T>({ children, footerType, }: {
    children?: CollectionChildren<T> | [CollectionChildren<T>, React.ReactElement];
    footerType: React.FC;
}): {
    body: CollectionChildren<T>;
    footer: React.ReactElement | undefined;
};
