import type { EndpointContext } from '@xopcai/gateway-contract'; import type { EndpointContextView, LocationShareSummary } from '@xopcai/endpoint-tools-protocol'; import type { AgentSourceContext } from '../agent/source-context/types.js'; import type { GatewayPrincipal } from '../gateway/security/gateway-principal.js'; import type { EndpointConnectionSnapshot, EndpointRegistry } from './registry.js'; export declare function endpointClaimBelongsToPrincipal(registry: EndpointRegistry, endpointId: string, principal: GatewayPrincipal): boolean; export declare function deviceTurnSourceContext(endpoint: EndpointConnectionSnapshot, environment?: EndpointContext, taskContext?: EndpointContextView, locationShares?: LocationShareSummary[]): AgentSourceContext;