import { z } from "zod"; export declare const PluginManifestSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; id: z.ZodString; name: z.ZodString; version: z.ZodString; entry: z.ZodString; description: z.ZodOptional; commands: z.ZodOptional>; }, z.core.$strict>; export type PluginManifest = z.infer; export interface InstalledPlugin extends PluginManifest { installPath: string; } export declare function validatePluginPath(candidate: string): string; export declare function readPluginManifest(pluginDir: string): Promise; /** Pack a plugin directory into one deterministic, portable .ggplugin JSON artifact. */ export declare function packPlugin(sourceDir: string, outputFile: string): Promise; /** Install atomically; an invalid bundle never damages the currently installed version. */ export declare function installPlugin(bundleFile: string, extensionsDir: string): Promise; export declare function listInstalledPlugins(extensionsDir: string): Promise; export declare function removePlugin(id: string, extensionsDir: string): Promise; //# sourceMappingURL=plugin-bundles.d.ts.map