import * as React from 'react';
import { ObjectInterface } from '../_utils/interfaces';
import './style/simple-cross-table.css';
export declare type hideSameRenderType = () => React.ReactNode;
interface CrossTableRowProps {
    yIndex: number;
    x: number;
    data?: ObjectInterface[];
    col: string;
    title: string;
    renderCell?: (value: CrossTableCellProps) => React.ReactNode;
    hideSameRender?: hideSameRenderType;
    defaultColWidth: number;
    defaultColHeight?: number;
    defaultTitleHeight?: number;
    leftColumnWidth: number;
    dataIndexSort: number[];
    nailedLeft: number[];
    sameColumns: string[];
    getRowHeight?: (col: string) => number;
}
export interface CrossTableCellProps extends CrossTableRowProps {
    xIndex: number;
    value?: string | number;
    currentDataIndex: number;
}
export interface SimpleCrossTableProps {
    className?: string;
    data?: ObjectInterface[];
    width?: number;
    height?: number;
    hideSame?: boolean;
    renderCell?: (props: CrossTableCellProps) => React.ReactNode;
    leftColumn: string[];
    title: string;
    hideSameRender?: hideSameRenderType;
    defaultColWidth?: number;
    defaultColHeight?: number;
    defaultTitleHeight?: number;
    scrollWidth?: number;
    leftColumnWidth?: number;
    nailedLeft?: number[];
    getRowHeight?: (col: string) => number;
}
export interface SimpleCrossTableRef {
    dom: HTMLDivElement | null;
    setScrollLeft: (v: number) => void;
    setScrollTop: (v: number) => void;
    getSameRows: () => NodeListOf<HTMLDivElement> | undefined;
    getDiffRows: () => NodeListOf<HTMLDivElement> | undefined;
}
declare const SimpleCrossTable: React.ForwardRefExoticComponent<SimpleCrossTableProps & React.RefAttributes<SimpleCrossTableRef>>;
export default SimpleCrossTable;
