import { VSBuffer } from "@codingame/monaco-vscode-api/vscode/vs/base/common/buffer"; import { ILocalizedString } from "@codingame/monaco-vscode-api/vscode/vs/platform/action/common/action"; import { RawContextKey } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey"; export declare const EDIT_SESSION_SYNC_CATEGORY: import("@codingame/monaco-vscode-api/vscode/vs/nls").ILocalizedString; export type SyncResource = "editSessions" | "workspaceState"; export declare enum ChangeType { Addition = 1, Deletion = 2 } export declare enum FileType { File = 1 } interface Addition { relativeFilePath: string; fileType: FileType.File; contents: string; type: ChangeType.Addition; } interface Deletion { relativeFilePath: string; fileType: FileType.File; contents: undefined; type: ChangeType.Deletion; } export type Change = Addition | Deletion; export interface Folder { name: string; canonicalIdentity: string | undefined; workingChanges: Change[]; absoluteUri: string | undefined; } export declare const EditSessionSchemaVersion = 3; export interface EditSession { version: number; workspaceStateId?: string; machine?: string; folders: Folder[]; } export declare const EDIT_SESSIONS_SIGNED_IN_KEY = "editSessionsSignedIn"; export declare const EDIT_SESSIONS_SIGNED_IN: RawContextKey; export declare const EDIT_SESSIONS_PENDING_KEY = "editSessionsPending"; export declare const EDIT_SESSIONS_PENDING: RawContextKey; export declare const EDIT_SESSIONS_CONTAINER_ID = "workbench.view.editSessions"; export declare const EDIT_SESSIONS_DATA_VIEW_ID = "workbench.views.editSessions.data"; export declare const EDIT_SESSIONS_TITLE: ILocalizedString; export declare const EDIT_SESSIONS_VIEW_ICON: import("@codingame/monaco-vscode-api/vscode/vs/base/common/themables").ThemeIcon; export declare const EDIT_SESSIONS_SHOW_VIEW: RawContextKey; export declare const EDIT_SESSIONS_SCHEME = "vscode-edit-sessions"; export declare function decodeEditSessionFileContent(version: number, content: string): VSBuffer; export declare function hashedEditSessionId(editSessionId: string): string; export declare const editSessionsLogId = "editSessions"; export {};