import type { CommandLineDescription, CommandLineRunner as Interface, CommandLines } from '@tramvai/core'; import type { COMMAND_LINE_EXECUTION_END_TOKEN } from '@tramvai/tokens-core-private'; import type { Container, ExtractDependencyType, Provider } from '@tinkoff/dippy'; import type { ExecutionContext, EXECUTION_CONTEXT_MANAGER_TOKEN, LOGGER_TOKEN } from '@tramvai/tokens-common'; type Deps = { lines: CommandLines; rootDi: Container; logger: ExtractDependencyType; executionContextManager: ExtractDependencyType; executionEndHandlers: ExtractDependencyType | null; }; export declare class CommandLineRunner implements Interface { lines: Deps['lines']; rootDi: Deps['rootDi']; log: ReturnType; executionContextManager: Deps['executionContextManager']; executionEndHandlers: Deps['executionEndHandlers']; private executionContextByDi; private abortControllerByDi; constructor({ lines, rootDi, logger, executionContextManager, executionEndHandlers }: Deps); run(type: keyof CommandLines, status: keyof CommandLineDescription, providers?: Provider[], customDi?: Container, key?: string | number): Promise; resolveDi(type: keyof CommandLines, status: keyof CommandLineDescription, rootDi: Container, providers?: Provider[]): Container; resolveExecutionContextFromDi(di: Container): ExecutionContext | null; private createLineChain; private instanceExecute; private throwError; } export {}; //# sourceMappingURL=commandLineRunner.d.ts.map