/**
 * Background Task Manager
 *
 * Runs shell commands in the background and tracks their output.
 */
import type { BackgroundTask } from "./interfaces/background-task.js";
import type { BackgroundTaskStatus } from "./types/background-task-status.js";
import type { RunBackgroundOptions } from "./interfaces/run-background-options.js";
declare class BackgroundTaskManager {
    private static _instance;
    private tasks;
    private debugMode;
    private constructor();
    static get instance(): BackgroundTaskManager;
    private generateId;
    private debug;
    run(options: RunBackgroundOptions): BackgroundTask;
    get(taskId: string): BackgroundTask | undefined;
    getAll(): BackgroundTask[];
    getByStatus(status: BackgroundTaskStatus): BackgroundTask[];
    clearCompleted(): number;
    kill(taskId: string): boolean;
    formatDuration(task: BackgroundTask): string;
    getStatusEmoji(status: BackgroundTaskStatus): string;
    /**
     * Shutdown - kills all running processes and clears tasks
     */
    shutdown(): Promise<void>;
}
export declare const backgroundTaskManager: BackgroundTaskManager;
export {};
