/** * Config File Support — Load .agentproberc.yml / agentprobe.config.ts * * Supports extended config format with adapter settings, reporter, * output directory, env file, and parallel/timeout options. */ export interface AdapterConfig { model?: string; api_key?: string; base_url?: string; [key: string]: any; } export interface ProfileConfig { adapter?: string; model?: string; timeout_ms?: number; env?: Record; tags?: string[]; parallel?: boolean; max_concurrency?: number; } export interface ExtendedConfig { adapters?: { default?: string; [name: string]: AdapterConfig | string | undefined; }; profiles?: Record; parallel?: number; timeout_ms?: number; reporter?: string; output_dir?: string; env_file?: string; plugins?: string[]; defaults?: { timeout_ms?: number; parallel?: boolean; format?: string; }; judge?: { model?: string; cache?: boolean; }; security?: { patterns?: string | string[]; }; coverage?: { tools?: string[]; }; ci?: { fail_on_regression?: boolean; post_comment?: boolean; }; budgets?: { per_test?: number; per_suite?: number; per_day?: number; alert_threshold?: number; }; } /** * Load extended config from project root. */ export declare function loadExtendedConfig(startDir?: string): ExtendedConfig; /** * Find config file searching up from startDir. */ export declare function findExtendedConfigFile(startDir: string): string | null; /** * Get the default adapter name from config. */ export declare function getDefaultAdapter(config: ExtendedConfig): string | undefined; /** * Get adapter config by name. */ export declare function getAdapterConfig(config: ExtendedConfig, name: string): AdapterConfig | undefined; /** * Resolve the output directory from config. */ export declare function resolveOutputDir(config: ExtendedConfig, baseDir?: string): string; /** * Load env file specified in config. */ export declare function loadEnvFromConfig(config: ExtendedConfig, baseDir?: string): void; /** * Get a named profile from config. */ export declare function getProfile(config: ExtendedConfig, name: string): ProfileConfig | undefined; /** * List all available profile names. */ export declare function listProfiles(config: ExtendedConfig): string[]; //# sourceMappingURL=config-file.d.ts.map