import React from 'react'; import { TableSchema } from '@8base/utils'; import { ITableSchemaContext } from './TableSchemaContext'; export declare type WithTablesListProps = { tablesList: TableSchema[]; }; declare const withTablesList: (WrappedComponent: React.ComponentType) => { new (props: Readonly>>): { renderContent: ({ tablesList }: ITableSchemaContext) => JSX.Element; render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callBack?: (() => void) | undefined): void; readonly props: Readonly>> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; }; new (props: Pick>, context?: any): { renderContent: ({ tablesList }: ITableSchemaContext) => JSX.Element; render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callBack?: (() => void) | undefined): void; readonly props: Readonly>> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; }; displayName: string; contextType?: React.Context | undefined; }; export { withTablesList }; //# sourceMappingURL=withTablesList.d.ts.map