import { GraphQLSchema, IntrospectionOptions } from 'graphql'; import { AsyncExecutor, SyncExecutor } from '@graphql-tools/delegate'; export declare function introspectSchema(executor: TExecutor, context?: Record, options?: IntrospectionOptions): TExecutor extends AsyncExecutor ? Promise : GraphQLSchema; export declare function introspectSchemaSync(executor: SyncExecutor, context?: Record, options?: IntrospectionOptions): GraphQLSchema;