import type { JaitDB } from "../db/connection.js";
import { architectureDiagrams } from "../db/schema.js";
export type ArchitectureDiagramRow = typeof architectureDiagrams.$inferSelect;
export declare class ArchitectureDiagramService {
    private readonly db;
    constructor(db: JaitDB);
    getByWorkspace(workspaceRoot: string, userId?: string): ArchitectureDiagramRow | null;
    save(params: {
        workspaceRoot: string;
        diagram: string;
        userId?: string;
    }): ArchitectureDiagramRow;
    list(userId?: string): ArchitectureDiagramRow[];
}
//# sourceMappingURL=architecture-diagrams.d.ts.map