import type { DocumentNode } from 'graphql'; import type { Operation } from '@apollo/client/core'; export declare const hasSubscriptionOperation: ( /** @type {Operation} */ { query }: Operation) => boolean; export declare const hasMutationOperation: ( /** @type {Operation} */ { query }: Operation) => boolean; export declare const hasQueryOperation: ( /** @type {Operation} */ { query }: Operation) => boolean; export declare const getOperationNameFromDocument: (document: DocumentNode) => string | undefined; export declare const matchesOperationDocument: (operationDocument: DocumentNode, matcherDocument: DocumentNode) => boolean;