import { ItemRenderer } from '@react-types/shared'; import * as React from 'react'; export declare type MaybeRenderProp = R | ((props: P) => R); export declare type MaybeRenderPropWithState = R | ((props: P, state: S) => R); export declare type Placement = 'bottom' | 'bottom left' | 'bottom right' | 'top' | 'top left' | 'top right' | 'left' | 'left top' | 'left bottom' | 'right' | 'right top' | 'right bottom'; export interface PartialSpectrumCollectionNode { type?: 'item' | 'section' | string; key?: React.Key; value?: T; element?: React.ReactElement; wrapper?: (element: React.ReactElement) => React.ReactElement; rendered?: React.ReactNode; textValue?: string; 'aria-label'?: string; index?: number; renderer?: ItemRenderer; hasChildNodes?: boolean; childNodes?: () => IterableIterator>; props?: any; shouldInvalidate?: (context: unknown) => boolean; }