1 | import { Types, DocumentFile, CodegenPlugin } from 'graphql-codegen-core';
|
2 | import { DocumentNode } from 'graphql';
|
3 | export interface ExecutePluginOptions {
|
4 | name: string;
|
5 | config: Types.PluginConfig;
|
6 | schema: DocumentNode;
|
7 | documents: DocumentFile[];
|
8 | outputFilename: string;
|
9 | allPlugins: Types.ConfiguredPlugin[];
|
10 | }
|
11 | export declare function getPluginByName(name: string, pluginLoader: Types.PluginLoaderFn): Promise<CodegenPlugin>;
|
12 | export declare function executePlugin(options: ExecutePluginOptions, pluginPackage: CodegenPlugin): Promise<string>;
|