1 | import { ASTValidationContext } from "../ValidationContext";
|
2 | import { ASTVisitor } from "../../language/visitor";
|
3 |
|
4 | export function anonOperationNotAloneMessage(): string;
|
5 |
|
6 | /**
|
7 | * Lone anonymous operation
|
8 | *
|
9 | * A GraphQL document is only valid if when it contains an anonymous operation
|
10 | * (the query short-hand) that it contains only that one operation definition.
|
11 | */
|
12 | export function LoneAnonymousOperation(context: ASTValidationContext): ASTVisitor;
|