/**
 * Projects Repository
 *
 * CRUD operations for projects.
 *
 * @module persistence/repositories/projects
 */
import type Database from "better-sqlite3";
import type { Project } from "../types.js";
export declare class ProjectsRepository {
    private db;
    constructor(db: Database.Database);
    create(path: string, name?: string): Project;
    findById(id: string): Project | undefined;
    findByPath(path: string): Project | undefined;
    findOrCreate(path: string, name?: string): Project;
    list(): Project[];
    updateLastScan(id: string): void;
    delete(id: string): boolean;
    private mapRow;
}
//# sourceMappingURL=projects.d.ts.map