UNPKG

330 BTypeScriptView Raw
1import { AST, Fragment, Operation } from 'graphql-tool-utilities';
2import { Options } from './context';
3export interface File {
4 path: string;
5 operation?: Operation;
6 fragments: Fragment[];
7}
8export { Options };
9export declare function printDocument({path, operation, fragments}: File, ast: AST, options: Options): any;