/** * Config key parser - handles dot-notation config keys and validates against schema */ /** * Type of a configuration value */ export type ConfigValueType = "string" | "integer" | "boolean" | "enum" | "string[]"; /** * Information about a configuration key */ export interface ConfigKeyInfo { /** The full key path in snake_case */ key: string; /** The value type */ type: ConfigValueType; /** Description of the key */ description: string; /** For enum types, the allowed values */ enumValues?: string[]; /** Whether the value is optional (can be unset) */ optional?: boolean; } /** * Parse a dot-notation config key into path segments. */ export declare function parseConfigKey(key: string): string[]; /** * Check if a key is a valid configuration key. * Only leaf keys (not sections) are valid. * Supports both static keys and dynamic patterns (e.g. fulltext.converters.*.command). */ export declare function isValidConfigKey(key: string): boolean; /** * Get information about a configuration key. * Returns null if the key is not valid. * Supports both static keys and dynamic patterns (e.g. fulltext.converters.*.command). */ export declare function getConfigKeyInfo(key: string): ConfigKeyInfo | null; /** * Get all valid configuration keys, optionally filtered by section. */ export declare function getAllConfigKeys(section?: string): string[]; /** * Convert a snake_case key to the internal camelCase path for accessing config values. * e.g., "cli.tui.debounce_ms" -> ["cli", "tui", "debounceMs"] */ export declare function toInternalPath(key: string): string[]; //# sourceMappingURL=key-parser.d.ts.map