import type { ASTNode, FieldNode } from "graphql";
/**
 * Adds `__typename` to all selection sets in the document.
 *
 * @param doc - The `ASTNode` to add `__typename` to
 */
export declare const addTypenameToDocument: (<TNode extends ASTNode>(doc: TNode) => TNode) & {
    added(field: FieldNode): boolean;
};
//# sourceMappingURL=transform.d.ts.map
