/** * fitness-config-schema — the fitness tool's namespaced Zod config schema. * * Describes the `fitness:` top-level block of `opensip-cli.config.yml` — * the knobs fitness owns: gate thresholds (`failOnErrors`/`failOnWarnings`), * the `disabledChecks` list, the tool-scoped `recipe` default, and the * scheduling/targeting knobs (`defaultTarget`/`maxParallel`/`timeout`). * * This is the single field definition for the `fitness:` namespace. The host's * composed config resolver uses it directly, and the older whole-document * `SignalersConfigSchema` reuses it with parser defaults while it still owns * shared targeting sections (`targets`/`globalExcludes`/`checkOverrides`). * * Defaults live on the {@link ToolConfigDeclaration} (`failOnErrors: 1`, * `failOnWarnings: 0`, `disabledChecks: []`) — the lowest-precedence source * the resolver merges — rather than as Zod `.default(...)` so the composed * namespace schema validates a user document without injecting values. */ import { z } from 'zod'; import type { ToolConfigDeclaration } from '@opensip-cli/config'; /** Defaults for fitness-owned config keys. */ export declare const FITNESS_CONFIG_DEFAULTS: { readonly failOnErrors: 1; readonly failOnWarnings: 0; readonly disabledChecks: readonly []; }; /** * Zod object for the `fitness:` namespace. Every field optional so a config * that omits the block (or any individual knob) is valid; the declaration's * `defaults` supply the effective values. */ export declare const FitnessNamespaceSchema: z.ZodObject<{ defaultTarget: z.ZodOptional; maxParallel: z.ZodOptional; timeout: z.ZodOptional; failOnErrors: z.ZodOptional; failOnWarnings: z.ZodOptional; disabledChecks: z.ZodOptional>; recipe: z.ZodOptional; }, z.core.$strip>; /** * The fitness tool's contribution to the composed configuration document. * `namespace: 'fitness'`; the composer makes it strict (typo-rejecting) and * optional. Defaults mirror the historical `SignalersConfigSchema` fitness * defaults so the resolved config matches the established behaviour. */ export declare const fitnessConfigDeclaration: ToolConfigDeclaration; //# sourceMappingURL=fitness-config-schema.d.ts.map