import React from 'react'; import { TableSchema, Application } from '@8base/utils'; export declare const TABLE_FIELD_FRAGMENT: any; export declare const TABLE_FRAGMENT: any; export declare const APPLICATIONS_FRAGMENT: any; export declare const TABLES_SCHEMA_QUERY: any; declare type TableSchemaProviderCommonProps = { tablesList?: TableSchema[]; applicationsList?: Application[]; }; declare type TableSchemaProviderProps = ({ children: React.ReactNode; } & TableSchemaProviderCommonProps) | ({ children: (props: { loading: boolean; }) => React.ReactNode; } & TableSchemaProviderCommonProps); /** * Provider for 8base table schemas * @property {Function} children Children of the provider. Could be either react node or function with loading state. */ declare class TableSchemaProvider extends React.Component { renderChildren: (args: { loading: boolean; }) => any; renderContent: ({ data, loading }?: { data?: any; loading: boolean; }) => JSX.Element; render(): JSX.Element; } export { TableSchemaProvider }; //# sourceMappingURL=TableSchemaProvider.d.ts.map