import * as React from 'react'; import { GraphQLError } from 'graphql'; import { ApolloCache } from 'apollo-cache'; export declare const createApolloErrorProvider: (globalCache?: ApolloCache | undefined) => ({ graphQLErrors, cache, children, }: { graphQLErrors: GraphQLError[]; cache?: ApolloCache | undefined; children: string | number | boolean | {} | React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | React.ReactNodeArray | React.ReactPortal | JSX.Element | null | undefined; }) => JSX.Element;