1 | import { GraphQLSchema, IntrospectionOptions } from 'graphql';
|
2 | import { AsyncExecutor, SyncExecutor } from '@graphql-tools/delegate';
|
3 | export declare function introspectSchema<TExecutor extends AsyncExecutor | SyncExecutor>(executor: TExecutor, context?: Record<string, any>, options?: IntrospectionOptions): TExecutor extends AsyncExecutor ? Promise<GraphQLSchema> : GraphQLSchema;
|
4 | export declare function introspectSchemaSync(executor: SyncExecutor, context?: Record<string, any>, options?: IntrospectionOptions): GraphQLSchema;
|