import { LoadTypedefsOptions, UnnormalizedTypeDefPointer } from './load-typedefs'; import { GraphQLSchema, BuildSchemaOptions } from 'graphql'; import { MergeSchemasConfig } from '@graphql-tools/merge'; export declare type LoadSchemaOptions = BuildSchemaOptions & LoadTypedefsOptions & Partial & { /** * Adds a list of Sources in to `extensions.sources` * * Disabled by default. */ includeSources?: boolean; }; /** * Asynchronously loads a schema from the provided pointers. * @param schemaPointers Pointers to the sources to load the schema from * @param options Additional options */ export declare function loadSchema(schemaPointers: UnnormalizedTypeDefPointer | UnnormalizedTypeDefPointer[], options: LoadSchemaOptions): Promise; /** * Synchronously loads a schema from the provided pointers. * @param schemaPointers Pointers to the sources to load the schema from * @param options Additional options */ export declare function loadSchemaSync(schemaPointers: UnnormalizedTypeDefPointer | UnnormalizedTypeDefPointer[], options: LoadSchemaOptions): GraphQLSchema;