/** * Static fleet file — Phase 1.d hybrid discovery. * * Precedence: `AGENTICROS_FLEET_PATH` → `~/.agenticros/fleet.json` → * `config.robots[]` (via listRobots). When a fleet file exists and * parses as a non-empty robot array (or `{ robots: [...] }`), it wins. */ import type { AgenticROSConfig } from "./config.js"; export declare const DEFAULT_FLEET_FILENAME = "fleet.json"; /** Resolve the fleet file path (env override or default under ~/.agenticros). */ export declare function resolveFleetPath(env?: NodeJS.ProcessEnv): string; export interface FleetFileResult { /** Absolute path that was checked. */ path: string; /** True when the file exists and was used. */ used: boolean; /** Parsed robot entries (empty when unused / invalid). */ robots: NonNullable; /** Human-readable error when the file exists but failed to parse. */ error?: string; } /** * Load `fleet.json` if present. Does not throw on missing file. * Invalid JSON / schema → `used: false` with `error` set so callers can warn. */ export declare function loadFleetFile(path?: string): FleetFileResult; /** * Return a config view where `robots` comes from fleet.json when present. * Does not mutate the input config object. */ export declare function applyFleetOverride(config: AgenticROSConfig, fleetPath?: string): AgenticROSConfig; //# sourceMappingURL=fleet-config.d.ts.map