1 | import { DocumentLoader } from './document-loader';
|
2 | import { DocumentNode } from 'graphql';
|
3 | import { Types, DocumentFile } from 'graphql-codegen-core';
|
4 | export declare const graphQLExtensions: string[];
|
5 | export declare class DocumentsFromGlob implements DocumentLoader {
|
6 | canHandle(doc: string): Promise<boolean> | boolean;
|
7 | documentsFromGlobs(documentGlob: string): Promise<string[]>;
|
8 | loadFileContent(filePath: string): DocumentNode | null;
|
9 | loadDocumentsSources(filePaths: string[]): DocumentFile[];
|
10 | handle(doc: string, config: Types.Config): Promise<DocumentFile[]>;
|
11 | }
|