1 | import { DocumentNode, GraphQLSchema, IntrospectionQuery } from 'graphql';
|
2 | import { Types } from 'graphql-codegen-core';
|
3 | import { SchemaLoader } from './schema-loader';
|
4 | export declare class SchemaFromExport implements SchemaLoader {
|
5 | canHandle(pointerToSchema: string): boolean;
|
6 | handle(file: string, config: Types.Config, schemaOptions: any): Promise<GraphQLSchema>;
|
7 | isSchemaText(obj: any): obj is string;
|
8 | isSchemaJson(obj: any): obj is {
|
9 | data: IntrospectionQuery;
|
10 | };
|
11 | isSchemaObject(obj: any): obj is GraphQLSchema;
|
12 | isSchemaAst(obj: string | DocumentNode): obj is DocumentNode;
|
13 | isPromise(obj: any): obj is Promise<any>;
|
14 | resolveSchema(schema: any): Promise<any>;
|
15 | }
|