/** * Dedicated Server Resolver * * Resolves an environment ID to a dedicated server origin. Control-plane * failures deliberately fall back to the shared renderer pool, but malformed * identifiers and construction policy fail at the local boundary. */ export interface ServerResolverOptions { maxEntries?: number; maxInflight?: number; requestTimeoutMs?: number; fetchImpl?: typeof fetch; now?: () => number; } export declare class ServerResolver { private readonly apiEndpointBase; private readonly authorizationHeader; private readonly cacheTtlMs; private readonly maxEntries; private readonly maxInflight; private readonly requestTimeoutMs; private readonly fetchImpl; private readonly now; private readonly cache; private readonly pending; private readonly pendingControllers; private readonly activeRequests; private cleanupTimer; private generation; private closed; private capacityWarningEmitted; constructor(apiInternalUrl: string, apiUser: string, apiPass: string, cacheTtlMs?: number, options?: ServerResolverOptions); resolve(environmentId: string | undefined): Promise; close(): void; private performLookup; private fetchServer; private fetchServerWithinDeadline; private remember; private cleanup; private readClock; private assertOpen; private isAtCapacity; private resetCapacityWarningIfAvailable; } //# sourceMappingURL=server-resolver.d.ts.map