import { PropsWithChildren, ReactNode } from 'react'; import { GenericDataProvider, InferResponse, InferMetaType, InferOptions, InferQuery, ResourceContextValue, InferContextPluginTypes, InferUIPluginProps } from './DataProvider'; export default function ResourceProvider = InferResponse, QueryI extends InferQuery = InferQuery, OptionsI extends InferOptions = InferOptions, MetaTypeI extends InferMetaType = InferMetaType>({ resource, children, ...rest }: PropsWithChildren<{ resource: ResourceContextValue & InferContextPluginTypes; } & InferUIPluginProps>): ReactNode;