/** * 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 as ChildrenFunctionBase } from '../collection'; import { Expand, LoadMore, Selection } from './context'; export declare type ChildrenFunction> = ChildrenFunctionBase; export interface ICollectionProps> { children: React.ReactNode | ChildrenFunction; /** * Property to set the initial value of `items`. */ defaultItems?: Array; /** * Property to inform the dynamic data of the tree. */ items?: Array; } declare type Props = { as?: 'div' | React.ComponentType | React.ForwardRefExoticComponent; }; export declare function Collection>({ as, children, items, ...otherProps }: Props & ICollectionProps): React.JSX.Element; export declare function removeItemInternalProps>(props: T): T; export {};