/** @category Scalars */ import type { GraphQLNamedType } from "./definition.mjs"; import { GraphQLScalarType } from "./definition.mjs"; /** * Maximum possible Int value as per GraphQL Spec (32-bit signed integer). * n.b. This differs from JavaScript's numbers that are IEEE 754 doubles safe up-to 2^53 - 1 */ export declare const GRAPHQL_MAX_INT = 2147483647; /** * Minimum possible Int value as per GraphQL Spec (32-bit signed integer). * n.b. This differs from JavaScript's numbers that are IEEE 754 doubles safe starting at -(2^53 - 1) */ export declare const GRAPHQL_MIN_INT = -2147483648; /** The built-in `Int` scalar type. */ export declare const GraphQLInt: GraphQLScalarType; /** The built-in `Float` scalar type. */ export declare const GraphQLFloat: GraphQLScalarType; /** The built-in `String` scalar type. */ export declare const GraphQLString: GraphQLScalarType; /** The built-in `Boolean` scalar type. */ export declare const GraphQLBoolean: GraphQLScalarType; /** The built-in `ID` scalar type. */ export declare const GraphQLID: GraphQLScalarType; /** All built-in scalar types defined by the GraphQL specification. */ export declare const specifiedScalarTypes: ReadonlyArray; /** * Returns true when the scalar type is one of the scalars specified by GraphQL. * @param type - The GraphQL type to inspect. * @returns True when the scalar type is one of the scalars specified by GraphQL. * @example * ```ts * import { * GraphQLScalarType, * GraphQLString, * isSpecifiedScalarType, * } from 'graphql/type'; * * const DateTime = new GraphQLScalarType({ * name: 'DateTime', * }); * * isSpecifiedScalarType(GraphQLString); // => true * isSpecifiedScalarType(DateTime); // => false * ``` */ export declare function isSpecifiedScalarType(type: GraphQLNamedType): boolean;