/** * GraphQL change rules (change: add-contract-graph-projection, GraphQL phase). * * The GraphQL rows of the closed rule table in `contract-diff.ts`, over two merged schemas * (`mergeGraphqlSchema`). Operations are matched by root KIND and field name — a client writes * `query { order }`, never the root type's name, so renaming `Query` to `RootQuery` changes * nothing on the wire. Types are matched by name. * * Nullability follows variance: an OUTPUT may become stricter (`String` → `String!` is safe for * every reader) and never looser; an INPUT may become looser (`String!` → `String`) and never * stricter. Anything compared only by hash — a directive other than `@deprecated` — is * `schema-unassessed`, never silently "no change". */ import { type GqlSchema } from '../../analyzer/contract/graphql.js'; import { type ContractChange } from './contract-diff.js'; /** Compare the merged GraphQL schemas of two revisions. */ export declare function diffGraphql(base: GqlSchema, head: GqlSchema): ContractChange[]; //# sourceMappingURL=graphql-diff.d.ts.map