UNPKG

583 BTypeScriptView Raw
1/// <reference types="handlebars" />
2import { Operation } from 'graphql-codegen-core';
3import { Fragment } from 'graphql-codegen-core';
4export declare const generateFragments: (convert: any) => (fragments: Fragment[], options: Handlebars.HelperOptions) => string;
5export declare const gql: (convert: any) => (operation: Operation, options: Handlebars.HelperOptions) => string;
6export declare function extractFragments(document: string): string[] | undefined;
7export declare const toFragmentName: (convert: any) => (fragmentName: string, options: Handlebars.HelperOptions) => string;