import type { DatabaseSync } from "node:sqlite";
import type { Project, UpdateProjectPatch } from "./types.js";
export declare function listProjects(db: DatabaseSync): readonly Project[];
export declare function getProject(db: DatabaseSync, path: string): Project | undefined;
export declare function upsertProject(db: DatabaseSync, normalizedPath: string, name: string, hasExplicitName: boolean, now: number): Project;
export declare function updateProject(db: DatabaseSync, path: string, patch: UpdateProjectPatch, now: number): Project;
export declare function deleteProject(db: DatabaseSync, path: string): void;
//# sourceMappingURL=projects.d.ts.map