import { type ASTKindToNode, type ASTNode, type NameNode } from 'graphql'; export declare function isAst(obj: any, ...kinds: K[]): obj is ASTKindToNode[K]; export declare type ToDefinitionKind = T extends `${infer _}Definition` ? T : T extends `${infer K}Extension` ? `${K}Definition` : undefined; export declare function toDefinitionKind(kind: K): ToDefinitionKind; export declare const hasName: (o: T) => o is T & { name: NameNode; }; export declare const byName: (...sources: Iterable[]) => Readonly>>; export declare const byKind: (...sources: Iterable[]) => Readonly>>; //# sourceMappingURL=is.d.ts.map