import { IRPCProtocol } from '@opensumi/ide-connection';
import { Disposable } from '@opensumi/ide-core-browser';
import { IMainThreadSecret } from '../../../common/vscode';
export declare class MainThreadSecret extends Disposable implements IMainThreadSecret {
    private readonly _proxy;
    private readonly appConfig;
    private readonly credentialsService;
    private readonly cryptoService;
    constructor(rpcProtocol: IRPCProtocol);
    private getFullKey;
    $getPassword(extensionId: string, key: string): Promise<string | undefined>;
    $setPassword(extensionId: string, key: string, value: string): Promise<void>;
    $deletePassword(extensionId: string, key: string): Promise<void>;
}
//# sourceMappingURL=main.thread.secret.d.ts.map