import type { Options, RawOptions } from './types.js'; /** * Normalizes and validates raw CLI options into a standardized configuration object. * * Performs the following transformations: * - Converts string/boolean flags to proper boolean values * - Applies sensible defaults for optional configuration * - Parses comma-separated lists (--ignore, --includeFiles, etc.) * - Validates and filters category selections (--only) * - Compiles regex patterns with error handling (--ignoreRegex) * - Resolves file paths relative to current working directory * * @param raw - Raw options object from CLI argument parser * @returns Fully normalized and type-safe options object ready for use * * @example * const options = normalizeOptions({ * ci: 'true', * ignore: 'TEST_,DEBUG_', * only: 'unused,duplicates' * }); * // Returns: { isCiMode: true, ignore: ['TEST_', 'DEBUG_'], only: ['unused', 'duplicates'], ... } */ export declare function normalizeOptions(raw: RawOptions): Options; //# sourceMappingURL=options.d.ts.map