/** * 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 { DataClient } from './DataClient'; interface IProviderProps extends Omit { /** * The content of the Provider. */ children: React.ReactNode; /** * Defines the transition for the entire tree. */ reducedMotion?: 'user' | 'always' | 'never'; /** * Path to the location of the spritemap resource. */ spritemap: string; /** * Set the amount of items that can be cached, set to zero will be * treated as infinite, be aware to set an ideal size to offer a * positive experience for your user but not use a large amount of memory. */ storageMaxSize?: number; } interface IProviderContext { client: DataClient; prefersReducedMotion?: boolean; /** * The theme corresponds to a CSS class to scope the application. */ theme?: string; } export declare function Provider({ children, reducedMotion, spritemap, storageMaxSize, theme, ...otherProps }: IProviderProps): React.JSX.Element; export declare function useProvider(): IProviderContext; export {};