import type { JaitDB } from "../db/connection.js";
import { architectureDiagrams } from "../db/schema.js";
export type ArchitectureDiagramRow = typeof architectureDiagrams.$inferSelect;
export declare const DEFAULT_ARCHITECTURE_DIAGRAM_FILE = ".jait/architecture.mmd";
export interface ArchitectureDiagramRecord extends ArchitectureDiagramRow {
    filePath: string;
    source: "file" | "database";
}
export declare class ArchitectureDiagramService {
    private readonly db;
    constructor(db: JaitDB);
    private getStoredRow;
    getFilePath(projectRoot: string): string;
    getByProject(projectRoot: string, userId?: string): ArchitectureDiagramRecord | null;
    save(params: {
        projectRoot: string;
        diagram: string;
        userId?: string;
    }): Promise<ArchitectureDiagramRecord>;
    list(userId?: string): ArchitectureDiagramRow[];
}
//# sourceMappingURL=architecture-diagrams.d.ts.map