/** * @fileoverview Resolve the path to opensip-tools.config.yml. * * Resolution order (first match wins): * 1. Explicit path — passed from --config CLI flag or programmatic caller. * 2. package.json — `opensip-tools.configPath` field at /package.json. * 3. Default — /opensip-tools.config.yml. * * Throws ValidationError if none of the above resolve to an existing file. * This is intentional: running fitness checks with no config silently * produces zero findings (file-based checks get zero files), which looks * green but actually didn't run anything. */ /** Canonical filename for the opensip-tools project config. */ export declare const PROJECT_CONFIG_FILENAME = "opensip-tools.config.yml"; /** * Resolve the config file path for a given rootDir. * * @param rootDir - Absolute path to the project root. * @param explicitPath - Optional path from `--config` CLI flag. May be * absolute or relative to `rootDir`. * @throws {ValidationError} When no config file exists at any resolved * location. The error message enumerates every path attempted so * operators can diagnose without re-running with --debug. */ export declare function resolveProjectConfigPath(rootDir: string, explicitPath?: string): string; //# sourceMappingURL=config-resolution.d.ts.map