import { TypeNode, VariableNode, NameNode, ValueNode } from 'graphql'; import { NormalizedScalarsMap, ConvertNameFn, ParsedEnumValuesMap } from './types'; import { BaseVisitorConvertOptions } from './base-visitor'; export interface InterfaceOrVariable { name?: NameNode; variable?: VariableNode; type: TypeNode; defaultValue?: ValueNode; } export declare class OperationVariablesToObject { protected _scalars: NormalizedScalarsMap; protected _convertName: ConvertNameFn; protected _namespacedImportName: string | null; protected _enumNames: string[]; protected _enumPrefix: boolean; protected _enumValues: ParsedEnumValuesMap; constructor(_scalars: NormalizedScalarsMap, _convertName: ConvertNameFn, _namespacedImportName?: string | null, _enumNames?: string[], _enumPrefix?: boolean, _enumValues?: ParsedEnumValuesMap); getName(node: TDefinitionType): string; transform(variablesNode: ReadonlyArray): string; protected getScalar(name: string): string; protected transformVariable(variable: TDefinitionType): string; wrapAstTypeWithModifiers(baseType: string, typeNode: TypeNode): string; protected formatFieldString(fieldName: string, isNonNullType: boolean, hasDefaultValue: boolean): string; protected formatTypeString(fieldType: string, isNonNullType: boolean, hasDefaultValue: boolean): string; protected getPunctuation(): string; }