import "./bootstrap"; import { ExecutionResult, Source } from "graphql"; import { IQueryOptions } from "../../query/graphql-runner"; import type { IGatsbyPage } from "../../redux/types"; export declare class GraphQLEngine { private runnerPromise?; constructor({ dbPath }: { dbPath: string; }); private setupPathPrefix; private _doGetRunner; private getRunner; ready(): Promise; runQuery(query: string | Source, context?: Record, opts?: IQueryOptions): Promise; /** * @deprecated use findEnginePageByPath exported from page-ssr module instead */ findPageByPath(pathName: string): IGatsbyPage | undefined; } declare const _default: { GraphQLEngine: typeof GraphQLEngine; }; export default _default;