export interface LazyClient { (): Promise; /** Test seam: inject a client so the dynamic SDK import is never made. */ set(client: T): void; } /** * Memoise a lazily-built SDK client. * * Every adapter resolves its SDK through a dynamic import so the dependency * stays optional and is only paid for once the provider is actually used. * The in-flight promise is cached too, so two concurrent first calls share one * client instead of racing to construct two. */ export declare function lazyClient(build: () => Promise): LazyClient; //# sourceMappingURL=lazy-client.d.ts.map