/* * Copyright (c) 2026 Pawan Osman * * This file is part of OpenCursor — AI coding agent chat inside VS Code. * https://github.com/PawanOsman/OpenCursor * * Licensed under the MIT License. See LICENSE file in the project root. */ interface VsCodeApi { postMessage(msg: unknown): void; getState(): T | undefined; setState(state: T): void; } declare function acquireVsCodeApi(): VsCodeApi; export const vscode: VsCodeApi = acquireVsCodeApi();