/** One problem found in a config file: the dotted path and a human-readable reason. */ export interface ConfigIssue { path: string; issue: string; } /** Whether a dotted path is part of the known config schema (leaf or intermediate). */ export declare function isKnownConfigPath(dotted: string): boolean; /** * Write-time validation for `config set`. An enum, number, or object leaf whose * value has the wrong kind is a hard rejection (throws). An unknown path is * permitted but reported, so `config set` can warn and still write (keeping * forward-compatible and third-party keys usable). Returns `{ unknownPath }`. */ export declare function validateConfigSet(dotted: string, value: unknown): { unknownPath: boolean; }; /** * Strict validation for `config validate`: walks a parsed config and collects * every unknown key and out-of-enum value, plus a `schemaVersion` that is newer * than this CLI supports. Never throws; returns the full list so the caller can * report all problems at once. */ export declare function findConfigIssues(config: Record, supportedSchemaVersion: number): ConfigIssue[]; //# sourceMappingURL=config-schema.d.ts.map