import React from 'react'; import { TableSchema } from '@8base/utils'; import { ITableSchemaContext } from './TableSchemaContext'; export declare type ITableConsumerRenderProps = { tableSchema: TableSchema | null; loading: false; } | { tableSchema: TableSchema | void; loading: true; }; export interface ITableConsumerProps { id?: string; app?: string; name?: string; children: (args: ITableConsumerRenderProps) => React.ReactNode; } declare class TableConsumer extends React.Component { renderWithSchemaResponse: ({ tablesList, loading }: ITableSchemaContext) => {} | null | undefined; render(): JSX.Element; } export { TableConsumer }; //# sourceMappingURL=TableConsumer.d.ts.map