import type { CompiledServiceInfo, CompileUrlResult, DriverConfig, ServiceUrlCompile } from "../types/driver"; /** * Owns service lookup and URL/request compilation for a driver. * Lookup is O(1) via an id-keyed map built once at construction. */ export declare class ServiceResolver { private readonly config; private readonly serviceIndex; constructor(config: DriverConfig); /** Resolve a call selector to compiled service info, or null if unknown. */ resolveCompiled(idService: ServiceUrlCompile): CompiledServiceInfo | null; /** Build the absolute request URL, applying version config when enabled. */ buildUrl(serviceInfo: CompiledServiceInfo): string; /** Resolve a call to its compiled service info + request info, or null. */ resolveCall(idService: ServiceUrlCompile, payload?: Record, options?: Record): { serviceInfo: CompiledServiceInfo; requestInfo: CompileUrlResult; } | null; /** Build the cache/dedup identity key; GET ignores payload (already in URL). */ buildSharedRequestKey(method: string, url: string, payload?: Record): string; }