1 | import { ValidationContext, SDLValidationContext } from "../ValidationContext";
|
2 | import { ASTVisitor } from "../../language/visitor";
|
3 |
|
4 | export function unknownDirectiveMessage(directiveName: string): string;
|
5 |
|
6 | export function misplacedDirectiveMessage(directiveName: string, location: string): string;
|
7 |
|
8 | /**
|
9 | * Known directives
|
10 | *
|
11 | * A GraphQL document is only valid if all `@directives` are known by the
|
12 | * schema and legally positioned.
|
13 | */
|
14 | export function KnownDirectives(context: ValidationContext | SDLValidationContext): ASTVisitor;
|