import Koa from "koa"; import { GetBaseUrl } from "./context"; export declare const readJsonFile: (filesDir: string) => (fileName: string) => Promise; export interface GetFilesDir { (databaseId: string): string; } export declare function createClientGraphQLMiddleware(getFilesDir: GetFilesDir, getBaseUrl: GetBaseUrl, enableGraphIQL: boolean, prefix?: string): Koa.Middleware; //# sourceMappingURL=middleware.d.ts.map