import React, { ComponentType } from 'react'; import { UxGridFrameState as State } from './index'; import { UxGridFrameScrollPosition } from './IUxGridFrame'; export declare function withScroll

(WrappedComponent: ComponentType

): { new (props: Readonly

>): { colWidth: number; scrollRef: React.RefObject; state: { shouldScroll: boolean; scrollHeight: number; scrollWidth: number; scrollTop: number; scrollLeft: number; offsetHeight: number; offsetWidth: number; }; componentDidMount(): void; _updateScrollPosition: (props: UxGridFrameScrollPosition) => void; _handleScroll: () => void; render(): JSX.Element; context: any; setState(state: State | ((prevState: Readonly, props: Readonly

>) => State | Pick | null) | Pick | null, callback?: (() => void) | undefined): void; forceUpdate(callBack?: (() => void) | undefined): void; readonly props: Readonly

> & Readonly<{ children?: React.ReactNode; }>; refs: { [key: string]: React.ReactInstance; }; }; new (props: P & Readonly<{ startIx: number; scrollTop: number; scrollLeft: number; }>, context?: any): { colWidth: number; scrollRef: React.RefObject; state: { shouldScroll: boolean; scrollHeight: number; scrollWidth: number; scrollTop: number; scrollLeft: number; offsetHeight: number; offsetWidth: number; }; componentDidMount(): void; _updateScrollPosition: (props: UxGridFrameScrollPosition) => void; _handleScroll: () => void; render(): JSX.Element; context: any; setState(state: State | ((prevState: Readonly, props: Readonly

>) => State | Pick | null) | Pick | null, callback?: (() => void) | undefined): void; forceUpdate(callBack?: (() => void) | undefined): void; readonly props: Readonly

> & Readonly<{ children?: React.ReactNode; }>; refs: { [key: string]: React.ReactInstance; }; }; readonly defaultProps: Readonly<{ startIx: number; scrollTop: number; scrollLeft: number; }>; contextType?: React.Context | undefined; };