import { GraphQLInputField, InputValueDefinitionNode } from "graphql"; import { InputFieldType, StringKeyOf, Field, Arg } from "../.."; import { GQLField } from "./GQLField"; export declare class InputField extends GQLField { protected _defaultValue: string | number | boolean; protected _type: InputFieldType; get type(): InputFieldType; get definitionNode(): InputValueDefinitionNode; protected constructor(name: NameType & string, type: InputFieldType); /** * Create a field for an InputType */ static create(name: StringKeyOf, type: InputFieldType): InputField>; static create(field: Field): InputField>; static create(field: InputField): InputField>; build(): GraphQLInputField; copy(): InputField; convert(to: typeof Arg): Arg; convert(to: typeof Field): Field; }