/** * Daemon-side `MlflowClient` cache. */ import { MlflowClient } from '../../clients/client'; /** * Return the cached `MlflowClient` for `trackingUri`, constructing it * lazily on first access. Subsequent calls with the same URI return the * same instance unless an explicit {@link clearClientForUri} happened * in between (typically driven by the upload loop's auth-error retry). */ export declare function clientForUri(trackingUri: string): MlflowClient; /** * Drop the cached client for `trackingUri` only, leaving other URIs' * entries intact. Called by the upload loop on 401 / 403 so the next * `clientForUri(uri)` call rebuilds the client with freshly-resolved * credentials. No-op if no entry exists for `trackingUri`. */ export declare function clearClientForUri(trackingUri: string): void; /** * Drop all cached clients. Intended for daemon shutdown paths and * tests; not part of the steady-state batch loop. */ export declare function clearClientCache(): void;