/** * Configuration Loader for rill-check * Loads and validates .rill-check.json configuration files. */ import type { CheckConfig } from './types.js'; /** * Create default configuration with all rules enabled. * Returns configuration where all known rules are set to 'on'. */ export declare function createDefaultConfig(): CheckConfig; /** * Load configuration from .rill-check.json in the specified directory. * * @param cwd - Directory to search for configuration file * @returns CheckConfig object, or null if file not found * @throws Error with "Invalid configuration: {reason}" if JSON is invalid [EC-3] * @throws Error with "Invalid configuration: unknown rule {code}" if unknown rule [EC-4] */ export declare function loadConfig(cwd: string): CheckConfig | null;