import { Types } from '@graphql-codegen/plugin-helpers'; import { FragmentDefinitionNode } from 'graphql'; export declare type NearOperationFileConfig = { /** * @name baseTypesPath * @type string * @description Required, should point to the base schema types file. * The key of the output is used a the base path for this file. * * @example * ```yml * generates: * path/to/file.ts: * preset: import-types * presetConfig: * typesPath: types.ts * plugins: * - typescript-operations * ``` */ typesPath: string; /** * @name importTypesNamespace * @type string * @description Optional, override the name of the import namespace used to import from the `baseTypesPath` file. * @default Types * * @example * ```yml * generates: * path/to/file.ts: * preset: import-types * presetConfig: * typesPath: types.ts * importTypesNamespace: SchemaTypes * plugins: * - typescript-operations * ``` */ importTypesNamespace?: string; }; export declare type FragmentNameToFile = { [fragmentName: string]: { filePath: string; importName: string; onType: string; node: FragmentDefinitionNode; }; }; export declare const preset: Types.OutputPreset; export default preset;