/** * Shared agent override merge semantics. * * Defines the contract for the `agentOverrides.` escape hatch using * RFC 7396 JSON Merge Patch semantics. * * @experimental This API is unstable and may change without notice. */ import * as Effect from "effect/Effect"; /** * Per-agent override patch. * * @experimental This API is unstable and may change without notice. */ export type AgentOverrides = Readonly>; /** * Override map keyed by agent id. * * @experimental This API is unstable and may change without notice. */ export type AllAgentOverrides = Readonly>; /** * Merge agent-specific overrides on top of a computed field record. * * Implements RFC 7396 JSON Merge Patch semantics: * * - objects merge recursively * - `null` deletes a key at any depth * - arrays replace wholesale * - primitives replace * - type mismatches replace * * Returns a new object; does not mutate `fields`. * * @experimental This API is unstable and may change without notice. */ export declare const applyOverrides: (fields: Readonly>, overrides: AgentOverrides | undefined) => Record; /** * Log a warning for each `agentOverrides.` entry whose agent is not * configured for the current workspace. * * @experimental This API is unstable and may change without notice. */ export declare const warnOnOrphanOverrides: (subjectName: string, overrides: AllAgentOverrides | undefined, configuredAgentIds: ReadonlyArray) => Effect.Effect; //# sourceMappingURL=agent-overrides.d.ts.map