@sussudio/platform
Version:
Internal APIs for VS Code's service injection the base services.
20 lines (18 loc) • 864 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 { IStateMainService } from './state.mjs';
import { StateService } from '../node/stateService.mjs';
export declare class StateMainService extends StateService implements IStateMainService {
readonly _serviceBrand: undefined;
setItem(key: string, data?: object | string | number | boolean | undefined | null): void;
setItems(
items: readonly {
key: string;
data?: object | string | number | boolean | undefined | null;
}[],
): void;
removeItem(key: string): void;
close(): Promise<void>;
}