/**
 * SQLite Repository Repository Implementation
 *
 * Implements IRepositoryRepository using better-sqlite3.
 */
import type Database from 'better-sqlite3';
import type { IRepositoryRepository } from '../../application/ports/output/repositories/repository-repository.interface.js';
import type { Repository } from '../../domain/generated/output.js';
export declare class SQLiteRepositoryRepository implements IRepositoryRepository {
    private readonly db;
    constructor(db: Database.Database);
    create(repository: Repository): Promise<Repository>;
    findById(id: string): Promise<Repository | null>;
    findByPath(path: string): Promise<Repository | null>;
    list(): Promise<Repository[]>;
    remove(id: string): Promise<void>;
    findByPathIncludingDeleted(path: string): Promise<Repository | null>;
    findByRemoteUrl(url: string): Promise<Repository | null>;
    findByUpstreamUrl(url: string): Promise<Repository | null>;
    update(id: string, fields: Partial<Pick<Repository, 'name' | 'path' | 'remoteUrl' | 'isFork' | 'upstreamUrl' | 'bedrockEnabled'>>): Promise<Repository>;
    softDelete(id: string): Promise<void>;
    restore(id: string): Promise<void>;
    static normalizeRemoteUrl(url: string): string;
}
//# sourceMappingURL=sqlite-repository.repository.d.ts.map