import { ColorVersion, DOMProps, DOMRef, ViewStyleProps } from '@react-types/shared'; import { JSXElementConstructor, ReactElement, ReactNode } from 'react'; export interface ViewProps extends ViewStyleProps, DOMProps { /** * The element to render as the node. */ elementType?: string | JSXElementConstructor; /** * Children to be displayed in the View. */ children?: ReactNode; } /** * View is a general purpose container with no specific semantics that can be used for custom * styling purposes. It supports Spectrum style props to ensure consistency with other Spectrum * components. */ export declare const View: (props: ViewProps & { ref?: DOMRef | undefined; }) => ReactElement>;