import type { Resolvers as IResolvers, TypeDefs as ITypeDefs, ResolverDecorators as IResolverDecorators } from "../types.js"; import type { GraphQLSchemaBuilder } from "../features/GraphQLSchemaBuilder/abstractions.js"; export interface IGraphQLSchema { typeDefs?: ITypeDefs; resolvers?: IResolvers; resolverDecorators?: IResolverDecorators; } /** Define custom GraphQL schema extensions. */ export interface IGraphQLSchemaFactory { execute(builder: GraphQLSchemaBuilder.Interface): Promise; } /** Define custom GraphQL schema extensions. */ export declare const GraphQLSchemaFactory: import("@webiny/di").Abstraction; export declare namespace GraphQLSchemaFactory { type Interface = IGraphQLSchemaFactory; type SchemaBuilder = GraphQLSchemaBuilder.Interface; type Return = Promise; }