import { type CapabilityProvider, type ProviderCatalog, type ProviderState } from '@xopcai/endpoint-tools-protocol'; import type { EndpointRegistry, RegisteredEndpointTool } from './registry.js'; export interface ProviderRecord { principalId: string; provider: CapabilityProvider; digest: string; admittedDigest?: string; } export interface ProviderCatalogStore { get(key: string): ProviderRecord | undefined; set(key: string, value: ProviderRecord): void; entries(): Array<[string, ProviderRecord]>; setMany(records: Array<[string, ProviderRecord]>): void; } /** Device claims are retained offline; execution requires a live connection and exact owner admission. */ export declare class EndpointProviderCatalog { private readonly registry; private readonly store; private readonly now; private readonly publicationBudget; private readonly live; private readonly owners; private readonly states; private enabled; constructor(registry: EndpointRegistry, store?: ProviderCatalogStore, now?: () => number); setEnabled(enabled: boolean): void; replace(endpointId: string, connectionId: string, raw: ProviderCatalog): void; list(principalId?: string): { status: string; endpointId?: string | undefined; connectionId?: string | undefined; admitted: boolean; principalId: string; provider: CapabilityProvider; digest: string; admittedDigest?: string; }[]; admit(principalId: string, localId: string, expectedDigest: string, allowed: boolean): void; reportState(endpointId: string, connectionId: string, raw: ProviderState): void; disconnect(endpointId: string, connectionId: string): void; assertExecutable(endpointId: string, toolName: string): void; isReady(provider: NonNullable): boolean; private sync; private requireConnection; }