/**
 * `PATCH /api/config` — `body.agents.defaults.*` section.
 *
 * Mutates `config.agents.defaults` in place to match the patch body. All
 * branches are field-by-field "if undefined skip, if null delete, else
 * coerce/validate then assign" so the web UI can clear individual settings
 * with `{ field: null }` without rewriting the rest.
 *
 * Was 660 lines inlined in `config.ts` (40% of the route handler) — extracted
 * so the dispatcher can chain section patchers instead of being a single 1600
 * -line if-else cascade.
 *
 * **No early returns / errors.** This section never rejects the patch; out-of
 * -range numbers and unrecognized strings are silently dropped (preserves
 * pre-extraction behavior so the route stays a "best-effort merge").
 */
import type { Config } from '../../../../config/schema.js';
export declare function applyAgentsPatch(config: Config, body: any): void;
