/** * CLI helper: parse --classifier-* flags into a ClassifierRouterConfig. * * Side-effect-free so it can be unit-tested without a running NeuroLink * instance. Mirrors the `--tool-routing-*` flag parser. */ import type { CliClassifierRouterFlags, ClassifierRouterConfig } from "../../lib/types/index.js"; /** * Build a {@link ClassifierRouterConfig} from the parsed CLI flags. * * Returns `undefined` when `--classifier-router` is absent or false, so callers * can skip the setter entirely with a simple truthiness check. * * `--classifier-pool` is parsed permissively: * - If the value is an existing file path, the file is read and JSON-parsed. * - Otherwise the value is treated as an inline JSON string. * - On any parse error a warning is logged and the pool is left empty. */ export declare function buildClassifierRouterConfigFromCli(flags: CliClassifierRouterFlags & Record): ClassifierRouterConfig | undefined;