/// import QueryV2 from './QueryV2'; import Graph from './Graph'; import { EventEmitter } from 'events'; import Stream from './Stream'; import Relation from './Relation'; export declare type LiveQueryId = string; interface TermWatch { } export default class LiveQuery { liveQueryId: string; graph: Graph; query: QueryV2; watches: Map; _isClosed: boolean; events: EventEmitter; constructor(graph: Graph, query: QueryV2); _addListeners(): void; run(out: Stream): void; runSync(): Relation; runAsync(): Promise; onChange(callback: any): void; close(): void; } export {};