import { type LocationShareRequest, type LocationShareSummary } from '@xopcai/endpoint-tools-protocol'; import type { EndpointRegistry } from './registry.js'; import type { EndpointContextStore } from './context-store.js'; export declare class LocationSharingError extends Error { readonly code: string; constructor(code: string, message: string); } /** Explicitly authorized coordinates remain transient and are never part of public context values. */ export declare class LocationSharingService { private readonly registry; private readonly contexts; private readonly now; private readonly shares; private readonly timer; private readonly unsubscribe; constructor(registry: EndpointRegistry, contexts: EndpointContextStore, now?: () => number); create(endpointId: string, input: LocationShareRequest): LocationShareSummary; private usable; sample(id: string, endpointId: string, input: unknown): Promise; private require; private summary; list(endpointId: string, conversationId?: string): LocationShareSummary[]; revoke(id: string, endpointId: string): Promise; private invalidate; sweep(): Promise; close(): Promise; }