import type { ChunkyLintConfig } from "../types/chunky-lint-types.js"; /** * Load JavaScript/TypeScript config file. * * @param filePath - Absolute path to the config file. * * @returns Parsed and validated chunky-lint config. * * @throws - When import or validation fails. */ export declare function loadJsConfig(filePath: string): Promise; /** * Load chunky-lint configuration from an explicit path or by auto-discovery. * * @param configPath - Optional explicit config path. * @param cwd - Working directory used for path resolution and discovery. * * @returns Parsed config object or `null` when no config is found. * * @throws - When discovery, reading, parsing, or validation fails. */ export declare function loadConfig(configPath?: string, cwd?: string): Promise; /** * Merge file-based config with CLI options, where CLI values win. * * @param config - Base config loaded from file. * @param cliOptions - Partial overrides provided via CLI. * * @returns Merged chunky-lint configuration. */ export declare function mergeConfig(config: Readonly, cliOptions: Readonly>): ChunkyLintConfig; //# sourceMappingURL=config-loader.d.ts.map