import { ColumnApi, GridApi } from 'ag-grid-community';
import React from 'react';
import { ColumnDefinition, TableApi } from '../types';
export interface TableApiConfig {
    columnApi: ColumnApi | undefined;
    columnDefinitions: ColumnDefinition[];
    gridApi: GridApi<any> | undefined;
    setLoadingStatus: (value: {
        loading: boolean;
        message: string;
    }) => void;
    wrapperRef: React.RefObject<HTMLDivElement>;
}
export declare const useTableApi: (config: TableApiConfig) => TableApi;
