export interface DiagramShapeDefault { width: number; height: number; colorKey: string; fontSize: number; } export interface DiagramDefaults { arrows: { fontSize: number; arrowDir: 'none' | 'to' | 'from' | 'both'; dashes: boolean; }; shapes: { box: DiagramShapeDefault; ellipse: DiagramShapeDefault; circle: DiagramShapeDefault; database: DiagramShapeDefault; actor: DiagramShapeDefault; 'post-it': DiagramShapeDefault; 'text-free': DiagramShapeDefault; }; } export type GitIntegrationMode = "unconfigured" | "disabled" | "enabled"; export type GitPushMode = "never" | "everyNCommits"; export interface FavoriteDoc { id: string; title: string; } export interface GitIntegrationConfig { mode: GitIntegrationMode; pushMode: GitPushMode; pushEveryCommits: number; commitMessage: string; } export interface StoredConfig { filenamePattern: string; title: string; theme: "light" | "dark" | "system"; siteTheme: "base" | "tau"; favorites: FavoriteDoc[]; language: "en" | "fr"; port: number; extraFiles: string[]; showDiagramDebug: boolean; diagramNodePalette: string[] | null; diagramEdgePalette: string[] | null; sourceRoot: string | null; blockedFileExtensions: string[]; exclusiveFolderExpansion: boolean; exclusiveCategoryExpansion: boolean; sidebarSort: "recent" | "oldest" | "alphabetical"; codeBlockMaxHeight: number; markdownSoftBreaks: boolean; imageRoundedCorners: boolean; imageCentered: boolean; imageBorder: boolean; codeBlockLightTheme: boolean; diagramDefaults: DiagramDefaults | null; debugAgents: boolean; llmModelsNoV1Hosts: string[]; gitIntegration: GitIntegrationConfig; } export interface LivingDocConfig extends Omit { docsFolder: string; sourceRoot: string; extraFiles: string[]; } export declare function getConfigPath(docsPath: string): string; export declare function readConfig(docsPath: string): LivingDocConfig; export declare function writeConfig(docsPath: string, patch: Partial): LivingDocConfig; //# sourceMappingURL=config.d.ts.map