import * as sqlite3 from 'sqlite3'; import { BaseRepositoryImpl } from './base-repository'; import { Adr, AdrFileMapping } from '../models/adr'; /** * Repository for W-Dimension: ADRs */ export declare class AdrRepository extends BaseRepositoryImpl { constructor(db: sqlite3.Database); create(adr: Adr): Promise; getById(id: string, pluginId: string): Promise; getByAdrNumber(adrNumber: string, pluginId: string): Promise; update(adr: Adr): Promise; delete(id: string, pluginId: string): Promise; getAll(pluginId: string): Promise; exists(id: string, pluginId: string): Promise; /** * Gets ADRs by content hash (for change detection). */ findByContentHash(contentHash: string, pluginId: string): Promise; /** * Creates an ADR file mapping. */ createAdrFileMapping(mapping: AdrFileMapping): Promise; /** * Gets all file mappings for an ADR. */ getAdrFileMappings(adrId: string): Promise; /** * Deletes an ADR file mapping by ID. */ deleteAdrFileMapping(mappingId: string): Promise; /** * Gets ADRs by file path. */ findByFilePath(filePath: string, pluginId: string): Promise; /** * Maps a database row to an Adr object. */ private mapRowToAdr; } //# sourceMappingURL=adr-repository.d.ts.map