1 | import { ASTVisitor, DocumentNode, GraphQLSchema, ValidationContext } from 'graphql';
|
2 | export type ValidationRule = (context: ValidationContext) => ASTVisitor;
|
3 | export declare function validateGraphQlDocuments(schema: GraphQLSchema, documents: DocumentNode[], rules?: ValidationRule[]): readonly import("graphql").GraphQLError[];
|
4 | export declare function createDefaultRules(): import("graphql").ValidationRule[];
|