/** * @fileoverview Config loader and defaults merging. * * Search order: explicit `--config `, then `textavia.config.json`, * `.textaviarc`, `.textaviarc.json` in the current working directory. Config * files are external input and validated with the schemas package. */ import { type TextaviaConfig } from '@textavia/core'; /** Built-in defaults (lowest precedence). */ export declare const BUILTIN_DEFAULTS: Readonly>; /** Returns a parsed config or null when no config file is found. */ export declare function loadConfig(cwd: string, explicitPath?: string): Promise; /** * Merges built-in defaults, config defaults, and a tool-specific defaults * override into a single defaults map. Explicit CLI flags are applied by the * caller (they are highest precedence) because the caller knows which flags * were present. */ export declare function mergeDefaults(config: TextaviaConfig | null, toolDefaults?: Readonly>): Record; //# sourceMappingURL=config.d.ts.map