/** * The agents a flow names, resolved against its catalogue before any spawn. * * A name is an agent of the catalogue, or a fault: a broken file under that * name is reported with its path and cause, and anything else as unknown. An * agent found is also held to what spawn would refuse about its skills, so a * checked flow never throws there. */ import type { Agent } from "../agent.ts"; import { type Skill } from "../skills.ts"; import type { FlowCatalogue } from "./catalogue.ts"; import type { FaultList } from "./fault.ts"; /** The agents of one catalogue, by name. Shared by a checker and its quiet copy. */ export declare class AgentNames { private readonly agents; private readonly broken; private readonly cwd; /** An agent's skills and their problems, looked up once however many nodes name it. */ private readonly found; constructor(catalogue: FlowCatalogue); /** The agent `name` names, written at `at`, or `undefined` after saying why. */ resolve(name: string, at: string, faults: FaultList): Agent | undefined; /** The skills `agent`'s `skills:` resolved to, as its check found them. */ skills(agent: Agent): readonly Skill[]; private lookUp; } //# sourceMappingURL=agents.d.ts.map