import type { ClientType } from "../clients.js"; import type { RuntimeConfig, FreshnessConfig, FreshnessCategory } from "./types.js"; /** * Set runtime configuration (typically from CLI options). */ export declare function setRuntimeConfig(config: RuntimeConfig): void; /** * Get current runtime configuration. */ export declare function getRuntimeConfig(): RuntimeConfig; /** * Get effective client type, with precedence: * 1. Runtime config (CLI option) * 2. Database config (if provided) * 3. Default client */ export declare function getEffectiveClient(dbClient?: string | null): ClientType; /** * Get effective skills directory, with precedence: * 1. Runtime config skillsDir (CLI option) * 2. Database config skills_dir * 3. Derived from effective client */ export declare function getEffectiveSkillsDir(dbSkillsDir?: string | null, dbClient?: string | null): string; /** * Get effective freshness config, with precedence: * 1. Runtime config freshness (CLI/programmatic) * 2. Database config values * 3. Defaults */ export declare function getEffectiveFreshness(dbConfig?: Record): FreshnessConfig; /** * Get freshness threshold for a specific resource category. */ export declare function getFreshnessForCategory(category: FreshnessCategory, dbConfig?: Record): number; /** * Get the minimum freshness threshold across multiple categories. * Use this when a resource matches multiple categories - the strictest * (smallest) threshold wins to ensure we don't miss stale content. */ export declare function getFreshnessForCategories(categories: FreshnessCategory[], dbConfig?: Record): number; //# sourceMappingURL=config.d.ts.map