/** * Fully-resolved patch diagram configuration (internal type used by renderer and layout). * * Users configure this diagram via `mermaid.initialize()` with a `patch` key and/or * standard Mermaid `themeVariables`. Only the following keys are accepted from the user: * * background, fontFamily, fontSize, portPlacement, nodePlacementStrategy, * legend, legendPosition * * Signal colours and node chrome colours are derived from the built-in theme palette * (DEFAULT_CONFIG / DARK_CONFIG / NEUTRAL_CONFIG) and can be further adjusted via standard * Mermaid themeVariables (primaryColor → nodeBgColor, primaryBorderColor → nodeBandDark, * primaryTextColor → nodeNameColor, secondaryTextColor → nodeLabelColor). They are not * settable through the `patch.*` user config. */ export interface PatchConfig { audioColor: string; cvColor: string; voctColor: string; gateColor: string; anyColor: string; defaultColor: string; nodeBgColor: string; nodeBandLight: string; nodeBandMid: string; nodeBandDark: string; nodeNameColor: string; nodeLabelColor: string; background: string; fontFamily: string; fontSize: number; simplifiedTabs: boolean; portPlacement: 'elk-optimized' | 'declaration'; nodePlacementStrategy: 'brandes-koepf' | 'network-simplex' | 'simple'; legend: boolean; legendPosition: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'; } export declare const DEFAULT_CONFIG: PatchConfig; /** Built-in dark palette. Signal colours are identical to DEFAULT_CONFIG. */ export declare const DARK_CONFIG: PatchConfig; /** Built-in neutral palette — print-ready: dark outer band only, light grey backgrounds, white canvas. */ export declare const NEUTRAL_CONFIG: PatchConfig; /** Signal type → color key in PatchConfig */ export declare const SIGNAL_COLOR_KEY: Record; /** Resolve a signal type to its configured color */ export declare function signalColor(type: string, config: PatchConfig): string; //# sourceMappingURL=config.d.ts.map