/** * The adoption funnel, as the process itself can see it: which milestones * this gateway has reached, and when. Each is reported once, on the report * stream, as a name and a time and nothing else: no payload, no credential, * no path, no verdict. Nothing here is sent anywhere; the milestones are for * the person at the terminal and for an operator's own log pipeline, and * the only thing the authority learns is what every hosted call already * carries in its `User-Agent`: the runtime's version and the surface it was * installed from. `installation` is the installer's own last line, because * a process cannot see itself being installed, and `boundary_tested` is * `agentsafe test`'s own last line, because the gateway cannot see the test * that ran before it. */ export declare const ACTIVATION_PATH: readonly ["installation", "boundary_tested", "gateway_started", "shadow_enabled", "first_interception", "first_governed_action", "decionis_connected", "enforcement_enabled", "production_deployment"]; /** One step of the path, whichever process reports it. */ export type ActivationStep = (typeof ACTIVATION_PATH)[number]; /** The steps a gateway process reaches itself. */ export declare const ACTIVATION_MILESTONES: readonly ["gateway_started", "shadow_enabled", "enforcement_enabled", "decionis_connected", "production_deployment", "first_interception", "first_governed_action"]; export type ActivationMilestone = (typeof ACTIVATION_MILESTONES)[number]; export interface ActivationReport { readonly event: "ACTIVATION"; readonly milestone: ActivationStep; readonly at: string; } /** What the funnel needs to know at start: the mode, the authority, the environment. */ export interface ActivationContext { readonly mode: "SHADOW" | "ENFORCEMENT"; readonly authority: "LOCAL" | "DECIONIS"; readonly production: boolean; } export declare class ActivationFunnel { private readonly report; private readonly clock; private readonly reached; constructor(report: (milestone: ActivationMilestone, at: string) => void, clock?: () => number); /** The milestones a start reaches, from what was configured. */ started(context: ActivationContext): void; /** A consequential request was captured and evaluated, in either mode. */ intercepted(): void; /** The authority's verdict was enforced: forwarded once, held, or refused. */ governed(): void; /** Every milestone, with the time it was reached or null. */ snapshot(): Readonly>; private reach; } //# sourceMappingURL=Activation.d.ts.map