import type { DI_TOKEN, ExtractDependencyType } from '@tinkoff/dippy'; import { type Container } from '@tinkoff/dippy'; import type { Contract } from '@tramvai/tokens-child-app'; import type { ASYNC_LOCAL_STORAGE_TOKEN } from '@tramvai/tokens-common'; import type { ChildAppDiManager, HostProvidedContracts, HostRequiredContracts, Logger } from './contractManager.base'; import { BaseChildAppContractManager } from './contractManager.base'; declare module '@tramvai/tokens-common' { interface AsyncLocalStorageState { tramvaiRequestDi?: ExtractDependencyType; } } type AsyncLocalStorageType = ExtractDependencyType; export declare class ChildAppContractManager extends BaseChildAppContractManager { private asyncLocalStorage; constructor({ appDi, asyncLocalStorage, hostProvidedContracts, hostRequiredContracts, logger, }: { appDi: Container; asyncLocalStorage: AsyncLocalStorageType; hostProvidedContracts: HostProvidedContracts | null; hostRequiredContracts: HostRequiredContracts | null; logger: Logger; }); registerContract(childDi: Container, contract: Contract): void; getRequestHostDi(): Container | null; getRequestChildDiManager(): ChildAppDiManager | null; } export {}; //# sourceMappingURL=contractManager.server.d.ts.map