import { TerminalProcess, TerminalProcessOptions } from './terminal-process';
export declare const TaskTerminalProcessFactory: unique symbol;
export interface TaskTerminalProcessFactory {
    (options: TerminalProcessOptions): TaskTerminalProcess;
}
export declare class TaskTerminalProcess extends TerminalProcess {
    exited: boolean;
    attachmentAttempted: boolean;
    /**
     * Runtime-only property: whether to enable command history tracking for this task's terminal.
     * This value is injected from the `terminal.integrated.enableCommandHistory` preference
     * before the task is sent to the backend. It is not part of the task definition schema
     * and should not be persisted in tasks.json.
     */
    protected _enableCommandHistory: boolean;
    protected _endOscInjected: boolean;
    setEnableCommandHistory(enable: boolean): void;
    /**
     * injects the command to be tracked into the terminal output stream
     * only if command history tracking is enabled
     */
    injectCommandStartOsc(command: string): void;
    protected onTerminalExit(code: number | undefined, signal: string | undefined): void;
    kill(signal?: string): void;
    protected injectCommandEndOsc(): void;
}
//# sourceMappingURL=task-terminal-process.d.ts.map