import { Operation, OperationType } from '@nosana/sdk'; import TaskManager from '../TaskManager.js'; import { Flow } from '@nosana/sdk'; /** * Executes a full lifecycle of a container-based operation using internal class state. * * This function is intended to be bound to a `TaskManager` instance using `.bind(this)`. * It handles: * - Setup * - Log streaming * - Abort controller registration * - Container execution * - Exit/error handling * - Cleanup * * It uses internal state like `this.repository`, `this.provider`, `this.job`, etc., * and serves as the core execution driver for all operations. * * Keeps lifecycle doc comments in sync with original `setUpOperationFunc`. */ export declare function runTaskManagerOperation(this: TaskManager, flow: Flow, op: Operation, dependent: string[]): Promise;