import { INodeLogger } from '@opensumi/ide-core-node/lib/logger/node-logger';
import { IExtensionHostProfilerService } from '../common';
export declare enum ProfileSessionState {
    None = 0,
    Starting = 1,
    Running = 2,
    Stopping = 3
}
export declare class ExtensionProfilerService implements IExtensionHostProfilerService {
    private extensionService;
    logger: INodeLogger;
    private sessionMap;
    private lastProfile;
    $startProfile(clientId: string): Promise<void>;
    private doStartProfiler;
    $stopProfile(clientId: string): Promise<boolean>;
    $saveLastProfile(savePath: string): Promise<void>;
}
//# sourceMappingURL=extension.profiler.service.d.ts.map