import { type EndpointContextView } from '@xopcai/endpoint-tools-protocol'; import type { EndpointRegistry } from './registry.js'; export declare class EndpointContextError extends Error { readonly code: 'CONTEXT_INVALID' | 'CONTEXT_CONFLICT' | 'SOURCE_UNAVAILABLE'; constructor(code: 'CONTEXT_INVALID' | 'CONTEXT_CONFLICT' | 'SOURCE_UNAVAILABLE', message: string); } /** Bounded, process-local observations. Heartbeats never refresh field timestamps. */ export declare class EndpointContextStore { private readonly registry; private readonly now; private readonly snapshots; private readonly unsubscribe; constructor(registry: EndpointRegistry, now?: () => number); private require; connection(endpointId: string): { connectionEpoch: string; revision: number; reportSequence: number; heartbeatSequence: number; }; report(endpointId: string, input: unknown): { revision: number; }; heartbeat(endpointId: string, input: unknown): { revision: number; }; view(endpointId: string): EndpointContextView | undefined; close(): void; }