import type { GraphQLSchema } from 'graphql'; import type { ExecutionContext, Environment, Middleware, Handler } from './types'; export declare class EdgeQL { private schemas; private graph; private middlewares; fetch: (request: Request, env?: Environment, exeContext?: ExecutionContext) => Promise; private execute; use(fn: Middleware): void; handle(schema: GraphQLSchema): void; handle(schema: string, handler: Handler): void; handle(schema: string, handlers: Record): void; }