import type { RoleName } from "../config/role-providers.js"; import type { FleetChild, FleetManifest } from "./manifest.js"; import type { BoberConfig } from "../config/schema.js"; export type ToolRoleViolation = { childFolder: string; role: RoleName; provider: "claude-code"; }; /** * Inspect a single fleet child's RESOLVED config for a tool-role violation. * Returns the first ToolRoleViolation found, or null when the child is clean. * NEVER throws — callers can safely call this in any context. */ export declare function check(child: FleetChild, resolved: BoberConfig): ToolRoleViolation | null; /** * Validate every child in the manifest for tool-role violations. * Throws a named Error identifying the offending child.folder and role on the * first violation. Passes silently when all children are clean. * * @throws Error naming child.folder + role when any child places claude-code * on a tool role. */ export declare function assertManifest(manifest: FleetManifest): void; //# sourceMappingURL=tool-role-guard.d.ts.map