import { GraphQLSchema } from 'graphql'; import { IResolvers, SchemaDirectiveVisitor } from 'graphql-tools'; declare type SchemaDirective = { [name: string]: typeof SchemaDirectiveVisitor; }; declare type TypeDef = string | string[]; export interface SchemaDefinition { resolvers: IResolvers; schemaDirectives: SchemaDirective; typeDefs: TypeDef; } export declare type SchemaPart = Partial; export declare function combineSchemaDefinitions(schemaParts: SchemaPart[]): SchemaDefinition; export declare function makeExecutableSchema(schemaParts: SchemaPart[], options?: object): GraphQLSchema; export {};