1 | import type { ASTVisitor } from '../../language/visitor';
|
2 | import type {
|
3 | SDLValidationContext,
|
4 | ValidationContext,
|
5 | } from '../ValidationContext';
|
6 | /**
|
7 | * Known argument names
|
8 | *
|
9 | * A GraphQL field is only valid if all supplied arguments are defined by
|
10 | * that field.
|
11 | *
|
12 | * See https://spec.graphql.org/draft/#sec-Argument-Names
|
13 | * See https://spec.graphql.org/draft/#sec-Directives-Are-In-Valid-Locations
|
14 | */
|
15 | export declare function KnownArgumentNamesRule(
|
16 | context: ValidationContext,
|
17 | ): ASTVisitor;
|
18 | /**
|
19 | * @internal
|
20 | */
|
21 | export declare function KnownArgumentNamesOnDirectivesRule(
|
22 | context: ValidationContext | SDLValidationContext,
|
23 | ): ASTVisitor;
|