import type * as ReactTypes from "react"; import type { DocumentNode } from "graphql"; import type { OperationOption, DataProps } from "./types.js"; /** * @deprecated * Official support for React Apollo higher order components ended in March 2020. * This library is still included in the `@apollo/client` package, but it no longer receives feature updates or bug fixes. */ export declare function withSubscription>(document: DocumentNode, operationOptions?: OperationOption): (WrappedComponent: ReactTypes.ComponentType) => ReactTypes.ComponentClass; //# sourceMappingURL=subscription-hoc.d.ts.map