import { IRPCProtocol } from '@opensumi/ide-connection';
import { IExtensionStorageService } from '@opensumi/ide-extension-storage';
import { IMainThreadStorage, KeysToAnyValues } from '../../../common/vscode';
export declare class MainThreadStorage implements IMainThreadStorage {
    private rpcProtocol;
    private readonly proxy;
    extensionStorageService: IExtensionStorageService;
    constructor(rpcProtocol: IRPCProtocol);
    dispose(): void;
    init(): Promise<void>;
    $setValue(shared: boolean, key: string, value: KeysToAnyValues): Promise<undefined>;
    $getValue(shared: boolean, key: string): Promise<import("@opensumi/ide-extension-storage").KeysToAnyValues>;
}
//# sourceMappingURL=main.thread.storage.d.ts.map