import type { IntrospectionInputValue, IntrospectionType, TypeRef } from "./introspection-types.js"; export type ValidationIssue = { path: string; message: string; }; export declare function isArgRequired(typeRef: TypeRef): boolean; export declare function typeRefToString(typeRef: TypeRef): string; /** 校验 GraphQL variables 对象与顶层 field 的 args 是否匹配 */ export declare function validateFieldArguments(variables: Record, args: IntrospectionInputValue[], typeMap: Map): ValidationIssue[]; export declare function parseJsonSafe(raw: string): { ok: true; value: unknown; } | { ok: false; message: string; }; //# sourceMappingURL=validate.d.ts.map