import { DirectiveNode } from "graphql"; import { FederationVersion } from "../../specifications/federation.js"; import type { ArgumentKind, Directive } from "../../subgraph/state.js"; import { MapByGraph, TypeBuilder } from "./common.js"; export declare function directiveBuilder(): TypeBuilder; export type DirectiveState = { kind: "directive"; name: string; byGraph: MapByGraph; isExecutable: boolean; composed: boolean; locations: Set; repeatable: boolean; args: Map; }; type DirectiveStateInGraph = { locations: Set; repeatable: boolean; version: FederationVersion; }; export type DirectiveArgState = { name: string; type: string; kind: ArgumentKind; tags: Set; inaccessible: boolean; defaultValue?: string; byGraph: MapByGraph; ast: { directives: DirectiveNode[]; }; }; type ArgStateInGraph = { type: string; kind: ArgumentKind; defaultValue?: string; version: FederationVersion; }; export declare function isArgumentTypeIdenticalInEverySubgraph(directiveArgState: DirectiveArgState, totalSubgraphSize: number): boolean; export {}; //# sourceMappingURL=directive.d.ts.map