import { Source } from "../source.js"; export declare class SourceFragmentMap { #private; /** * Get a view on the current mapping from source ids to sets of fragment ids. */ get sourceToFragments(): ReadonlyMap>; /** * Get a view on the current mapping from fragment ids to sets of source ids. */ get fragmentToSources(): ReadonlyMap>; /** * Update all fragments of the specified source. */ updateSource(sourceId: string, fragmentMap: ReadonlyMap): void; /** * Remove all fragments of the specified source. */ removeSource(sourceId: string): void; /** * Check if there are any sources other than the specified one that also provide the same fragment. */ hasOtherSources(sourceId: string, fragmentId: string): boolean; /** * Check if there are any fragments with the specified id. */ hasFragment(fragmentId: string): boolean; }