import { P as PluginFileSource, a as ParsePluginBundleOptions, b as ParsedPluginBundle } from '../types-m3TBGFFa.js'; export { D as DEFAULT_PLUGIN_BUNDLE_LIMITS, M as MCPJAM_EXTENSION_NAMESPACE, N as NormalizedPluginManifest, c as NormalizedPluginMcpServer, d as NormalizedPluginOAuthHint, e as PLUGIN_DATA_PLACEHOLDER, f as PLUGIN_ISSUE_CODES, g as PLUGIN_MANIFEST_PATH, h as PLUGIN_MANIFEST_SCHEMAS, i as PLUGIN_MCP_SCHEMAS, j as PLUGIN_PLACEHOLDERS, k as PLUGIN_ROOT_PLACEHOLDER, l as PLUGIN_ROOT_PLACEHOLDERS, m as ParsedPluginApp, n as ParsedPluginAsset, o as ParsedPluginServer, p as ParsedPluginSkill, q as ParsedPluginSkillFile, r as PluginAppBinding, s as PluginAssetKind, t as PluginBundleError, u as PluginBundleLimits, v as PluginEnvRequirement, w as PluginFileEntry, x as PluginHeaderRequirement, y as PluginIssueCode, z as PluginIssueSeverity, A as PluginManifestAuthor, B as PluginMcpServerEntry, C as PluginMcpServerMapSelection, E as PluginMcpTransportDetection, F as PluginMcpWrapperKey, G as PluginSetupRequirement, H as PluginSkippedComponent, I as PluginValidationIssue, J as containsPluginPlaceholder, K as containsRootPlaceholder, L as detectPluginMcpTransport, O as selectPluginMcpServerMap } from '../types-m3TBGFFa.js'; /** * `parsePluginBundle` — the source-adapter-independent Agent Plugins 1.0 * parser. * * Phase order is a security contract, not a convenience: entry paths are * validated against the archive reject-list and limits FIRST, and any * violation throws before a single byte of content is read or any component * (manifest/skill/MCP/app) is normalized. * * Failure boundaries per the spec: manifest violations and archive/limit * violations reject the bundle; one invalid skill or one invalid server * entry is skipped (reported on `skipped` + demoted to warnings); an invalid * `mcp.json` document disables the MCP component type only. */ declare const MCP_CONFIG_PATH = "mcp.json"; /** * Parse and validate an Agent Plugins bundle from an abstract file source. * * Throws `PluginBundleError` on bundle-level violations (archive safety, * limits, manifest); component-level problems are isolated into `skipped` * with their issues demoted to warnings on the result. */ declare function parsePluginBundle(source: PluginFileSource, options?: ParsePluginBundleOptions): Promise; export { MCP_CONFIG_PATH, ParsePluginBundleOptions, ParsedPluginBundle, PluginFileSource, parsePluginBundle };