/** * SPDX-FileCopyrightText: (c) 2026 Liferay, Inc. https://liferay.com * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06 */ import React from 'react'; import { ChildrenFunction } from '../collection'; interface IProps extends Omit, 'children'> { /** * Children content to render a dynamic or static content. */ children: React.ReactNode | ChildrenFunction; /** * Property to set the initial value of items (uncontrolled). */ defaultItems?: Array; /** * Property to render content with dynamic data (controlled). */ items?: Array; /** * A callback which is called when the property of items is changed (controlled). */ onItemsChange?: (items: Array) => void; } export declare function Body>({ children, defaultItems, items: outItems, onItemsChange, ...otherProps }: IProps, ref: React.Ref): React.JSX.Element; declare type ForwardRef = { (props: IProps & { ref?: React.Ref; }): JSX.Element; displayName: string; }; export declare const ForwardBody: ForwardRef; export {};