import * as plugins from '../../plugins.js';
import type { OpsServer } from '../classes.opsserver.js';
export declare class WorkspaceHandler {
    private opsServerRef;
    typedrouter: plugins.typedrequest.TypedRouter<plugins.typedrequestInterfaces.ITypedRequest>;
    private workspaceProcesses;
    constructor(opsServerRef: OpsServer);
    /**
     * Resolve a service name to a container ID (handling Swarm service IDs)
     */
    private resolveContainerId;
    private validateProcessId;
    private getShellCommandForContainer;
    private getProcessSession;
    private pushWorkspaceProcessOutput;
    private pushWorkspaceProcessExit;
    private finalizeWorkspaceProcess;
    closeProcessesForService(serviceNameArg: string): Promise<void>;
    private registerHandlers;
}
