export interface PathIdInfo { sanitizedPathId: number; sourcePathId: number; } export interface Tokenization { sourceIds: Array; sanitizedTokens: Array; } declare class PathRepository { private _reuseSanitizedIds; private _maxSanitizedId; private _reuseSourceIds; private _maxSourceId; private _sanitizedToIdMap; private _sanitizedIdToTokenization; private _sourceToIdMap; private _sourceIdToSanitizedMap; getPathInfoAt(sourcePath: string): PathIdInfo; getSanitizedPathOf(sourcePathId: number): string; getIdOfSanitizedPath(sanitizedPath: string): number; getPathTokensAt(sanitizedPathId: number): string[]; getSourcePathAt(sourcePathId: number): string; removeSource(sourcePath: string): void; removeSourceId(sourcePathId: number): void; private _addNewSourcePath; } export default PathRepository;