import type { ArgumentNode, DirectiveNode, TypeNode } from "graphql"; import { Kind } from "graphql"; export declare function getTypeName(type: TypeNode): string; export declare function getArgumentValue(argument: ArgumentNode, expectedType: Kind.STRING): string; export declare function getArgumentValue(argument: ArgumentNode, expectedType: Kind.BOOLEAN): boolean; export declare function getArgumentValue(argument: ArgumentNode, expectedType: Kind.LIST): T[]; export declare function getArgumentValue = Record>(argument: ArgumentNode, expectedType: Kind.OBJECT): T; interface GetArgumentNodeOptions { required?: boolean; } export declare function getDirectiveArgument(argumentName: string, directive: DirectiveNode, opts: GetArgumentNodeOptions & { required: true; }): ArgumentNode; export declare function getDirectiveArgument(argumentName: string, directive: DirectiveNode, opts?: GetArgumentNodeOptions): ArgumentNode | undefined; export declare function maybeGetArgumentValue(argument: ArgumentNode | undefined, expectedType: Kind.STRING): string | undefined; export declare function maybeGetArgumentValue(argument: ArgumentNode | undefined, expectedType: Kind.BOOLEAN): boolean | undefined; export declare function maybeGetArgumentValue(argument: ArgumentNode | undefined, expectedType: Kind.LIST): T[] | undefined; export declare function maybeGetArgumentValue = Record>(argument: ArgumentNode | undefined, expectedType: Kind.OBJECT): T | undefined; export {}; //# sourceMappingURL=graphql.d.ts.map