import { IRPCProtocol } from '@opensumi/ide-connection';
import { ExtensionCandidate } from '@opensumi/ide-core-common';
import { IExtHostLifeCycle } from '../../../common/sumi/lifecycle';
import { IExtHostCommands } from '../../../common/vscode';
export declare function createLifeCycleApi(extHostCommands: IExtHostCommands, lifeCycle: IExtHostLifeCycle): {
    setExtensionDir: (dir: string) => void;
    setExtensionCandidate: (exts: ExtensionCandidate[]) => void;
};
export declare class ExtHostLifeCycle implements IExtHostLifeCycle {
    private rpcProtocol;
    private proxy;
    constructor(rpcProtocol: IRPCProtocol);
    setExtensionDir(path: string): void;
    setExtensionCandidate(candidate: ExtensionCandidate[]): void;
}
//# sourceMappingURL=ext.host.lifecycle.d.ts.map