import type { AgentPluginStore, InstalledAgentPlugin } from './store.js'; export declare function pluginResources(plugin: Pick): { url: string; sha256: string; maxBytes: number; executable: boolean; id: string; platform?: "darwin" | "linux" | "win32" | undefined; arch?: "arm64" | "x64" | undefined; }[]; /** Download pinned files; execute them only later through an explicitly reviewed MCP process. */ export declare function preparePluginResources(store: AgentPluginStore, plugin: InstalledAgentPlugin, signal: AbortSignal): Promise; /** Derive ownership from retained revisions, including rollback and staged packages. */ export declare function prunePluginResourceCache(store: AgentPluginStore): void;