import React from 'react';
import { WrappedComponentProps } from 'react-intl';
import { GraphLayout } from '../layout';
import { GraphUpdateHandler } from '../GraphContext';
import { TabId } from "@blueprintjs/core";
import { Schema as FTMSchema } from "@alephdata/followthemoney";
import "./TableView.scss";
interface ITableViewProps extends WrappedComponentProps {
    isOpen: boolean;
    layout: GraphLayout;
    updateLayout: GraphUpdateHandler;
    writeable: boolean;
    toggleTableView: () => void;
    fitToSelection: () => void;
}
interface ITableViewState {
    activeTabId: TabId;
    schemata: Array<FTMSchema>;
}
export declare class TableViewBase extends React.Component<ITableViewProps, ITableViewState> {
    constructor(props: ITableViewProps);
    addSchema(schema: FTMSchema): void;
    setActiveTab(newTabId: TabId): void;
    render(): JSX.Element;
}
export declare const TableView: React.ForwardRefExoticComponent<Pick<ITableViewProps, "isOpen" | "layout" | "updateLayout" | "writeable" | "toggleTableView" | "fitToSelection"> & {
    forwardedRef?: ((instance: any) => void) | React.RefObject<any> | null | undefined;
} & React.RefAttributes<any>> & {
    WrappedComponent: React.ComponentType<ITableViewProps>;
};
export {};
