import * as sqlite3 from 'sqlite3'; import { BaseRepositoryImpl } from './base-repository'; import { Dependency, DependencyGraphCache, DependencySymbolEvidence } from '../models/dependency'; /** * Repository for Z-Dimension: Dependencies */ export declare class DependencyRepository extends BaseRepositoryImpl { constructor(db: sqlite3.Database); create(dependency: Dependency): Promise; getById(id: string, pluginId: string): Promise; update(dependency: Dependency): Promise; delete(id: string, pluginId: string): Promise; getAll(pluginId: string): Promise; exists(id: string, pluginId: string): Promise; /** * Gets dependencies by from_module. */ findByFromModule(fromModule: string, pluginId: string): Promise; /** * Gets dependencies by to_module. */ findByToModule(toModule: string, pluginId: string): Promise; /** * Gets the dependency graph cache. */ getDependencyGraphCache(pluginId: string): Promise; /** * Sets the dependency graph cache. */ setDependencyGraphCache(cache: DependencyGraphCache): Promise; /** * Creates a dependency symbol evidence link. */ createDependencySymbolEvidence(evidence: DependencySymbolEvidence): Promise; /** * Maps a database row to a Dependency object. */ private mapRowToDependency; } //# sourceMappingURL=dependency-repository.d.ts.map