1 | import { GraphQLSchema, GraphQLError } from 'graphql';
|
2 | import { DocumentNode } from 'graphql-codegen-core';
|
3 | export declare const loadFileContent: (filePath: string) => DocumentNode;
|
4 | export interface LoadDocumentError {
|
5 | readonly filePath: string;
|
6 | readonly errors: ReadonlyArray<GraphQLError>;
|
7 | }
|
8 | export declare const loadDocumentsSources: (schema: GraphQLSchema, filePaths: string[]) => DocumentNode | ReadonlyArray<LoadDocumentError>;
|