UNPKG

461 BTypeScriptView Raw
1import { UnnormalizedTypeDefPointer } from '@graphql-tools/load';
2import { Types } from '@graphql-codegen/plugin-helpers';
3import { GraphQLSchema } from 'graphql';
4export declare const loadSchema: (schemaPointers: UnnormalizedTypeDefPointer, config: Types.Config) => Promise<GraphQLSchema>;
5export declare const loadDocuments: (documentPointers: UnnormalizedTypeDefPointer | UnnormalizedTypeDefPointer[], config: Types.Config) => Promise<Types.DocumentFile[]>;