import type { FASTIFY_RESPONSE, EARLY_HINTS_MANAGER_TOKEN } from '@tramvai/tokens-server-private'; import type { RESOURCES_REGISTRY } from '@tramvai/tokens-render'; import type { ExtractDependencyType } from '@tinkoff/dippy'; import type { EARLY_HINTS_ENABLED_TOKEN } from '@tramvai/tokens-server'; type EarlyHintsInterface = typeof EARLY_HINTS_MANAGER_TOKEN; type Response = typeof FASTIFY_RESPONSE; type ResourcesRegistry = typeof RESOURCES_REGISTRY; type EarlyHintsEnabled = ExtractDependencyType; interface ConstructorPayload { response: Response; resourcesRegistry: ResourcesRegistry; earlyHintsEnabled: EarlyHintsEnabled; } export declare class EarlyHintsManager implements EarlyHintsInterface { private sentHints; private readonly response; private readonly resourcesRegistry; private readonly earlyHintsEnabled; constructor(payload: ConstructorPayload); flushHints(): Promise; private getHints; private writeToSocket; private getHttpMessage; private getAsAttribute; private getCdnHintForResource; private doesHintUniq; } export {}; //# sourceMappingURL=service.d.ts.map