UNPKG

439 BTypeScriptView Raw
1import { Types } from 'graphql-codegen-core';
2import { GraphQLSchema } from 'graphql';
3import { SchemaLoader } from './schema-loader';
4export declare class IntrospectionFromFileLoader implements SchemaLoader {
5 stripBOM(content: string): string;
6 parseBOM(content: string): any;
7 canHandle(pointerToSchema: string): boolean;
8 handle(pointerToSchema: string, config: Types.Config, schemaOptions: any): Promise<GraphQLSchema>;
9}