/** * Shared default projectors used by every per-agent module. * * The default behavior captures the v1 contract: * * - `defaultDeclared(agentId, scope, settings)` — returns * `Option.some(DeclaredAgent)` iff the decoded settings list the agent in * its `agents` array. Pure function over already-decoded settings. * - `defaultActual(agentId, scope, observations)` — returns * `Option.some(ActualAgent)` iff at least one scanner observation refers to * the agent. Combines agent-dir, agent-settings, and per-agent MCP-config * evidence. * - `defaultDetected(agentId, scope, declared, actual)` — combines the two * into a `DetectedAgent` when at least one is present; returns * `Option.none()` when both are absent (no evidence either way). * * Per-agent modules override these only if their native config requires * agent-specific evidence rules. v1 modules all reuse these defaults. */ import * as Option from "effect/Option"; import type { AgentId } from "../../../agents/types.js"; import type { Scope } from "../types.js"; import type { ActualAgent, AgentScannerObservations, DeclaredAgent, DeclaredSettingsShape, DetectedAgent } from "./types.js"; export declare const defaultDeclared: (agentId: AgentId, scope: Scope, settings: Option.Option) => Option.Option; export declare const defaultActual: (agentId: AgentId, scope: Scope, observations: AgentScannerObservations) => Option.Option; export declare const defaultDetected: (agentId: AgentId, scope: Scope, declared: Option.Option, present: boolean, actual: Option.Option) => Option.Option; //# sourceMappingURL=shared.d.ts.map