import { type ExecutionResult, type GraphQLSchema } from 'graphql'; import { registerAll } from './auto-register.js'; /** What a GraphQL request carries, whatever host read it. */ export interface AppQuery { query: string; variables?: Record; operationName?: string; /** The audience, when the facade was mounted per surface. */ surface?: string; /** What the server resolved about the caller — never what the wire claimed. */ state?: Record; } type AppLike = Parameters[1]; /** The app's schema, derived and kept. */ export declare function schemaOf(app: AppLike, surface?: string): GraphQLSchema; /** Execute a query against the app's own operations. */ export declare function executeOn(app: AppLike, request: AppQuery): Promise; export {}; //# sourceMappingURL=app.d.ts.map