import * as React from 'react';
import { datagrid, CssValue, t } from '../common';
import { ISampleData } from '../SAMPLE';
export { ISampleData };
export declare type ITestGridProps = {
    editorType: t.TestEditorType;
    left: boolean;
    data?: ISampleData;
    style?: CssValue;
    onRefresh?: (e: {
        force: boolean;
    }) => void;
};
export declare type ITestGridState = {
    data?: any;
    lastSelection?: t.IGridSelection;
};
export declare class TestGrid extends React.PureComponent<ITestGridProps, ITestGridState> {
    state: ITestGridState;
    private unmounted$;
    private state$;
    private events$;
    grid: datagrid.Grid;
    private getValueSync;
    private getValue;
    private refTable;
    componentDidMount(): void;
    componentWillUnmount(): void;
    get lastSelection(): t.IGridSelection;
    updateState(): Promise<{
        debug: {
            editorType: t.TestEditorType;
        };
    }>;
    overlayFromCell(cell?: string): void;
    private setLink;
    private postData;
    render(): JSX.Element;
    private renderLeft;
    private renderMain;
    private renderRight;
    private button;
    private handleRefresh;
}
