import type { Data, Variables, GraphQLError, ComponentDocument } from '@apollo-elements/core/types'; import type { ApolloController, VariablesOf } from '@apollo-elements/core'; import type { ApolloClient, ApolloError, NormalizedCacheObject } from '@apollo/client/core'; import { StampinoRender } from './stampino-render.js'; export declare class ApolloElement> extends StampinoRender { controller: ApolloController; readyToReceiveDocument: boolean; /** @summary The Apollo Client instance. */ client: ApolloClient | null; /** @summary Whether a request is in flight. */ loading: boolean; /** @summary Latest Data. */ data: Data | null; /** * @summary Operation document. * GraphQL operation document i.e. query, subscription, or mutation. * Must be a parsed GraphQL `DocumentNode` */ document: ComponentDocument | null; /** @summary Latest error */ error: Error | ApolloError | null; /** @summary Latest errors */ errors: readonly GraphQLError[]; /** @summary Operation variables. */ variables: Variables | null; requestUpdate(name?: string, old?: unknown): void; }