import React from 'react';
import { WrappedComponentProps } from 'react-intl';
import { EntityManager } from '../EntityManager';
import { Entity, Schema } from "@alephdata/followthemoney";
import Datasheet from 'react-datasheet';
import { SortType } from './SortType';
import "./TableEditor.scss";
export interface CellData extends Datasheet.Cell<CellData, any> {
    className: string;
    data: any;
}
interface ITableEditorProps extends WrappedComponentProps {
    entities: Array<Entity>;
    schema: Schema;
    sort: SortType | null;
    sortColumn: (sort: SortType) => void;
    selection: Array<string>;
    updateSelection: (entityId: string) => void;
    entityManager: EntityManager;
    writeable: boolean;
}
export declare const TableEditor: React.ForwardRefExoticComponent<Pick<ITableEditorProps, "entities" | "schema" | "sort" | "sortColumn" | "selection" | "updateSelection" | "entityManager" | "writeable"> & {
    forwardedRef?: ((instance: any) => void) | React.RefObject<any> | null | undefined;
} & React.RefAttributes<any>> & {
    WrappedComponent: React.ComponentType<ITableEditorProps>;
};
export {};
