import { PluginVSCodeEnvironment } from '../common/plugin-vscode-environment'; import { PluginIdentifiers } from '@theia/plugin-ext/lib/common/plugin-protocol'; /** * Extracts extension identity from a VSIX file by reading its package.json. * * VSIX files are ZIP archives with the extension content in an `extension/` subdirectory. * This function extracts only the `extension/package.json` file to read the extension metadata. * * @param vsixPath Path to the VSIX file * @returns PluginIdentifiers.Components (publisher?, name, version), or undefined if the package.json cannot be read or is invalid */ export declare function extractExtensionIdentityFromVsix(vsixPath: string): Promise; export declare function decompressExtension(sourcePath: string, destPath: string): Promise; export declare function existsInDeploymentDir(env: PluginVSCodeEnvironment, extensionId: string): Promise; export declare const TMP_DIR_PREFIX = "tmp-vscode-unpacked-"; export declare function unpackToDeploymentDir(env: PluginVSCodeEnvironment, sourcePath: string, extensionId: string): Promise; export declare function getExtensionDeploymentDir(env: PluginVSCodeEnvironment, extensionId: string): Promise; export declare function getTempDir(env: PluginVSCodeEnvironment, prefix: string): Promise; //# sourceMappingURL=plugin-vscode-utils.d.ts.map