import type { GraphQLSchema } from 'graphql'; import type { TypeScriptPluginConfig } from '@graphql-codegen/typescript'; import type { TypeScriptResolversPluginConfig } from '@graphql-codegen/typescript-resolvers'; import type { MercuriusLoadersPluginConfig } from './mercuriusLoaders'; type MidCodegenPluginsConfig = TypeScriptPluginConfig & TypeScriptResolversPluginConfig & MercuriusLoadersPluginConfig; export interface CodegenPluginsConfig extends MidCodegenPluginsConfig { [k: string]: unknown; } export declare function generateCode(schema: GraphQLSchema, codegenConfig?: CodegenPluginsConfig, preImportCode?: string, silent?: boolean, operationsGlob?: string[] | string): Promise; export declare function writeGeneratedCode({ code, targetPath, }: { code: string; targetPath: string; }): Promise; export {};