@sussudio/platform
Version:
Internal APIs for VS Code's service injection the base services.
17 lines (15 loc) • 881 B
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { ITerminalChildProcess } from '../terminal.mjs';
import { TerminalCapability, INaiveCwdDetectionCapability } from './capabilities.mjs';
export declare class NaiveCwdDetectionCapability implements INaiveCwdDetectionCapability {
private readonly _process;
constructor(_process: ITerminalChildProcess);
readonly type = TerminalCapability.NaiveCwdDetection;
private _cwd;
private readonly _onDidChangeCwd;
readonly onDidChangeCwd: import('@sussudio/base/common/event.mjs').Event<string>;
getCwd(): Promise<string>;
}