import React from 'react';
import { types } from '@db-man/github';
export interface AppContextProps {
    dbs: types.DatabaseMap;
    getTablesByDbName: (dbName: string) => types.DbTable[];
    getViewsByDbName: (dbName: string) => types.DbView[];
    getViewByDbNameViewName: (dbName: string, viewName: string) => types.DbView | null;
}
export declare const AppContext: React.Context<AppContextProps | null>;
export declare const useAppContext: () => AppContextProps;
//# sourceMappingURL=AppContext.d.ts.map