import { PropsWithChildren } from 'react'; import { GenericDataProvider, InferResponse, InferMetaType, InferOptions, InferQuery, InferUIPluginProps, InferContextPluginProps } from './DataProvider'; import { ResourceProps } from './useResource'; /** * Provides data based on the given request details and DataProvider. * Context provider for the ResourceContext. * * Necessary configuration that is not directly specified is taken from the ConfigContext. * * The provided DataProvider must not be changed. */ export default function Resource = InferResponse, QueryI extends InferQuery = InferQuery, OptionsI extends InferOptions = InferOptions, MetaTypeI extends InferMetaType = InferMetaType>({ dataProvider, name, query, disabled, options, persistent, children, ...rest }: PropsWithChildren & InferContextPluginProps & InferUIPluginProps>): import("react/jsx-runtime").JSX.Element;