import { ITerminalService } from '../../../platform/terminal/common/terminalService'; import { Disposable } from '../../../util/vs/base/common/lifecycle'; /** * Monitors terminal activity and tracks the last terminal command execution. * Similar to UserInteractionMonitor, this class listens to terminal events * to understand user terminal activity patterns. */ export declare class TerminalMonitor extends Disposable { private readonly _terminalService; private _lastActivity; constructor(_terminalService: ITerminalService); private _recordTerminalActivity; /** * Gets the terminal output data for telemetry, including how long ago the last command was executed. * Data is primarily sourced from onDidEndTerminalShellExecution to ensure consistency * (buffer, command, and metadata all come from the same terminal). */ getData(): string; } //# sourceMappingURL=terminalOutput.d.ts.map