import { type GraphQLSchema } from "graphql"; import type { Config } from "./config.js"; type ValuePrimitive = string | number | boolean | null; type ValueArray = ValuePrimitive[]; type ValueObject = Record; export type ExampleDirectiveValue = { value: ValuePrimitive | ValueArray | ValueObject; }; export type ExampleDirectionExpression = { expression: string; }; export type ExampleDirective = ExampleDirectiveValue | ExampleDirectionExpression; type FieldInfo = { name: string; example?: ExampleDirective | undefined; }; export type ObjectTypeInfo = { type: "object"; name: string; rawName: string; fields: FieldInfo[]; }; export type EnumTypeInfo = { type: "enum"; name: string; rawName: string; fields: FieldInfo[]; }; export type ScalarTypeInfo = { type: "scalar"; name: string; rawName: string; example?: ExampleDirectiveValue | undefined; }; export type InterfaceTypeInfo = { type: "interface"; name: string; rawName: string; possibleRawTypeNames: string[]; comment?: string | undefined; example?: ExampleDirective | undefined; }; export type UnionTypeInfo = { type: "union"; name: string; rawName: string; possibleRawTypeNames: string[]; example?: ExampleDirective | undefined; }; export type TypeInfo = ObjectTypeInfo | InterfaceTypeInfo | EnumTypeInfo | UnionTypeInfo | ScalarTypeInfo; export declare function getTypeInfos(config: Config, schema: GraphQLSchema): TypeInfo[]; export {}; //# sourceMappingURL=schema-scanner.d.ts.map