import { PartialNode } from '@react-stately/collections'; import { SectionProps as _SectionProps } from '@react-types/shared'; import { Key, ReactElement } from 'react'; export declare type SectionProps = _SectionProps & { id?: Key; }; /** * Pulled from https://github.com/adobe/react-spectrum/blob/main/packages/%40react-stately/collections/src/Section.ts * with some minor adjustments. */ export declare function Section(props: SectionProps): ReactElement; export declare namespace Section { var getCollectionNode: (props: SectionProps, context: any) => Generator, any, unknown>; }