import type { Constructor } from '@apollo-elements/core/types'; import type { OperationVariables } from '@apollo/client'; import { PolymerApolloElement } from './polymer-apollo-element.js'; declare const PolymerApolloSubscription_base: Constructor> & { new (...a: any[]): PolymerApolloElement & import("@apollo-elements/core").ApolloSubscriptionElement; documentType: "subscription"; }; /** * @element polymer-apollo-subscription * * `` fires Polymer-style prop-changed events * when its `data`, `error`, or `loading` properties change. * * See [ApolloSubscriptionInterface](/api/core/interfaces/subscription/) for more information. * * @example Subscribing for Updates * ```html * * * * [[data.userJoined.picture]] * * ``` * * @fires {PolymerChangeEvent>} data-changed * @fires {PolymerChangeEvent>} variables-changed * @fires {PolymerChangeEvent} error-changed * @fires {PolymerChangeEvent} errors-changed * @fires {PolymerChangeEvent} loading-changed */ export declare class PolymerApolloSubscription extends PolymerApolloSubscription_base { static readonly is = "polymer-apollo-subscription"; } declare global { interface HTMLElementTagNameMap { 'polymer-apollo-subscription': PolymerApolloSubscription; } } export {};