import type { ApolloClient, TypedDocumentNode } from '@apollo/client'; import type { GraphQLFormattedError } from 'graphql'; import type { RegistGraphql } from '../types'; export declare class GraphQLInnerError extends Error { graphQLErrors: ReadonlyArray; constructor(message: string, graphQLErrors: ReadonlyArray); } /** * register graphql * @param client ApolloClient * @param definition regist graphqls definition */ export declare function registGraphql>>(client: ApolloClient, definition: C): RegistGraphql;