/** * Configuration loader: reads codesight.config.(ts|js|json) from project root. */ import type { CodesightConfig, NativeAstConfig } from "./types.js"; /** * Load config from project root. Returns empty config if no config file found. */ export declare function loadConfig(root: string): Promise; export declare function safeParseConfigText(content: string): CodesightConfig; /** * Merges CLI args with config file values (CLI takes precedence). */ export declare function mergeCliConfig(config: CodesightConfig, cli: { maxDepth?: number; outputDir?: string; profile?: string; maxTokens?: number; nativeAst?: NativeAstConfig; }): CodesightConfig;