/* eslint no-unused-vars: 0 */ import Vue, { AsyncComponent } from 'vue' import { ApolloClient } from 'apollo-client' import { VueApolloComponentOptions, WatchLoading, ErrorHandler } from './options' export type VueApolloComponent = VueApolloComponentOptions | typeof Vue | AsyncComponent export class ApolloProvider { provide: (key?: string) => this constructor (options: { defaultClient: ApolloClient, defaultOptions?: VueApolloComponentOptions, clients?: { [key: string]: ApolloClient }, watchLoading?: WatchLoading, errorHandler?: ErrorHandler, prefetch?: boolean }) clients: { [key: string]: ApolloClient } defaultClient: ApolloClient }