export function withContext(Component: any): { new (props: any): { state: { currentLayout: any; }; originalLayouts: {}; adjustedLayouts: {}; _onChange({ config, itemsStateAndParams, }: { config?: any; itemsStateAndParams?: any; }): void; _onLayoutChange: (layout: any) => void; _onItemRemove: (id: any) => void; _onItemEdit: (configItem: any) => void; _onItemStateAndParamsChange: (id: any, stateAndParams: any) => void; _memorizeOriginalLayout: (widgetId: any, preAutoHeightLayout: any, postAutoHeightLayout: any) => void; _revertToOriginalLayout: (widgetId: any) => void; readonly _itemsParams: { [x: string]: import("../shared").StringParams; }; readonly _itemsState: Record; _getItemsMeta: (pluginsRefs: any) => any; _getLayout: () => any; _reloadItems: (pluginsRefs: any, data: any) => void; readonly _contextValue: { getLayout: () => any; config: any; context: any; overlayControls: any; noOverlay: any; defaultGlobalParams: any; globalParams: any; editMode: any; settings: any; itemsState: Record; itemsParams: { [x: string]: import("../shared").StringParams; }; registerManager: any; onItemStateAndParamsChange: (id: any, stateAndParams: any) => void; removeItem: (id: any) => void; editItem: (configItem: any) => void; layoutChange: (layout: any) => void; getItemsMeta: (pluginsRefs: any) => any; reloadItems: (pluginsRefs: any, data: any) => void; memorizeOriginalLayout: (widgetId: any, preAutoHeightLayout: any, postAutoHeightLayout: any) => void; revertToOriginalLayout: (widgetId: any) => void; forwardedMetaRef: any; draggableHandleClassName: any; }; render(): JSX.Element; context: any; setState(state: any, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly & Readonly<{ children?: React.ReactNode; }>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any; componentDidUpdate?(prevProps: Readonly, prevState: Readonly, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void; }; new (props: any, context: any): { state: { currentLayout: any; }; originalLayouts: {}; adjustedLayouts: {}; _onChange({ config, itemsStateAndParams, }: { config?: any; itemsStateAndParams?: any; }): void; _onLayoutChange: (layout: any) => void; _onItemRemove: (id: any) => void; _onItemEdit: (configItem: any) => void; _onItemStateAndParamsChange: (id: any, stateAndParams: any) => void; _memorizeOriginalLayout: (widgetId: any, preAutoHeightLayout: any, postAutoHeightLayout: any) => void; _revertToOriginalLayout: (widgetId: any) => void; readonly _itemsParams: { [x: string]: import("../shared").StringParams; }; readonly _itemsState: Record; _getItemsMeta: (pluginsRefs: any) => any; _getLayout: () => any; _reloadItems: (pluginsRefs: any, data: any) => void; readonly _contextValue: { getLayout: () => any; config: any; context: any; overlayControls: any; noOverlay: any; defaultGlobalParams: any; globalParams: any; editMode: any; settings: any; itemsState: Record; itemsParams: { [x: string]: import("../shared").StringParams; }; registerManager: any; onItemStateAndParamsChange: (id: any, stateAndParams: any) => void; removeItem: (id: any) => void; editItem: (configItem: any) => void; layoutChange: (layout: any) => void; getItemsMeta: (pluginsRefs: any) => any; reloadItems: (pluginsRefs: any, data: any) => void; memorizeOriginalLayout: (widgetId: any, preAutoHeightLayout: any, postAutoHeightLayout: any) => void; revertToOriginalLayout: (widgetId: any) => void; forwardedMetaRef: any; draggableHandleClassName: any; }; render(): JSX.Element; context: any; setState(state: any, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly & Readonly<{ children?: React.ReactNode; }>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any; componentDidUpdate?(prevProps: Readonly, prevState: Readonly, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void; }; propTypes: { editMode: PropTypes.Requireable; context: PropTypes.Requireable; overlayControls: PropTypes.Requireable; config: PropTypes.Requireable; onItemEdit: PropTypes.Requireable<(...args: any[]) => any>; onChange: PropTypes.Requireable<(...args: any[]) => any>; defaultGlobalParams: PropTypes.Requireable; globalParams: PropTypes.Requireable; itemsStateAndParams: PropTypes.Requireable; registerManager: PropTypes.Requireable; layout: PropTypes.Requireable; settings: PropTypes.Requireable; forwardedMetaRef: PropTypes.Requireable; noOverlay: PropTypes.Requireable; draggableHandleClassName: PropTypes.Requireable; _EXPERIMENTAL_preventDoubleCompact: PropTypes.Requireable; }; contextType?: React.Context | undefined; };