import { Preposition } from '../query/query-parser' ; export interface Watch < Fact , Model > { watch < U , V > ( preposition , resultAdded , resultRemoved ) : Watch < U , V > ; watch < U , V > ( preposition , resultAdded ) : Watch < U , V > ; load ( ) : Promise < void > ; stop ( ) : void ; }