import type { ItemElement, ItemRenderer, SectionProps as SpectrumSectionProps } from '@react-types/shared'; export { Item } from '@adobe/react-spectrum'; export type { ItemProps, Orientation, PressEvent, SelectionMode, } from '@react-types/shared'; export type ItemElementOrPrimitive = number | string | boolean | ItemElement; export type ItemsChildren = ItemElement | ItemElement[] | ItemRenderer; export type ItemsOrPrimitiveChildren = ItemElementOrPrimitive | ItemElementOrPrimitive[] | ItemRenderer; /** * Spectrum SectionProps augmented with support for primitive item children. */ export type SectionProps = Omit, 'children'> & { children: ItemsOrPrimitiveChildren; }; /** * Re-export Spectrum Section component with augmented props type. */ export declare const Section: (props: SectionProps) => JSX.Element; //# sourceMappingURL=shared.d.ts.map