import { Observable } from 'rxjs'; import { MerkleStateInfo } from '../model/blockchain'; import { MosaicRestriction } from '../model/restriction/MosaicRestriction'; import { SearcherRepository } from './paginationStreamer'; import { RestrictionMosaicSearchCriteria } from './searchCriteria'; export interface RestrictionMosaicRepository extends SearcherRepository { /** * Returns mosaic restrictions by composite hash * * @param compositeHash the composite hash * @return Observable */ getMosaicRestrictions(compositeHash: string): Observable; /** * Returns mosaic restrictions by composite hash * * @param compositeHash the composite hash * @return Observable */ getMosaicRestrictionsMerkle(compositeHash: string): Observable; }