import type { ClientEndpointMessage } from '@xopcai/endpoint-tools-protocol'; import type { EndpointRegistry } from './registry.js'; type StatusMessage = Extract['payload']; /** Read-only reconciliation. A receipt never replays a write or reconstructs a missing payload. */ export declare class ProviderOperationStatusService { private readonly registry; private readonly pending; private readonly evidence; constructor(registry: EndpointRegistry); query(operationId: string): Promise<{ operationId: string; gatewayState: string; deviceStatus: string; receipt: { intent: { operationId: string; providerDigest: string; toolRevision: string; argumentsDigest: string; }; state: "unknown" | "running" | "succeeded"; updatedAt: number; resultDigest?: string | undefined; } | undefined; } | undefined>; receive(endpointId: string, connectionId: string, message: StatusMessage): void; disconnect(endpointId: string, connectionId: string): void; close(): void; private finish; } export {};