import { IDisposable } from "../../Types/Contracts.js"; export interface IChangesConnectionState extends IDisposable { inc(): void; dec(): void; error(e: Error): void; ensureSubscribedNow(): Promise; addOnChangeNotification(type: ChangesType, handler: (value: T) => void): any; removeOnChangeNotification(type: ChangesType, handler: (value: T) => void): any; addOnError(handler: (value: Error) => void): any; removeOnError(handler: (value: Error) => void): any; } export type ChangesType = "Document" | "Index" | "Operation" | "Counter" | "TimeSeries" | "AggressiveCache"; //# sourceMappingURL=IChangesConnectionState.d.ts.map