import { SwellCommand } from '../../swell-command.js'; export default class Extensions extends SwellCommand { static summary: string; static description: string; static args: { identifier: import("@oclif/core/lib/interfaces/parser.js").Arg>; }; static flags: { app: import("@oclif/core/lib/interfaces/parser.js").OptionFlag; live: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag; json: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag; yes: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag; }; static examples: string[]; run(): Promise; protected catch(error: Error): Promise; /** * List mode is bounded to two parallel round-trip phases regardless of app * count: phase 1 fans `/client/apps`, the three settings singletons, and a * single `/data/:functions` filter; phase 2 fans `/apps//configs?type=component` * only for apps with a non-empty `extensions[]`. * * `include` / `aggregate` are NOT used here — the CLI's `node-fetch` * transport cannot transmit GET-with-body, and URL-form transmission of * those payloads is silently dropped server-side. Verified empirically * against the live admin API. Don't reach for those primitives. */ private showList; /** * Detail mode is bounded to one round-trip's worth of latency: the install * record (or `/apps/` fallback), the relevant settings singleton(s), * `/data/:functions?where[app_id]=&where[extension]=`, and * `/apps//configs?type=component` — all in parallel. */ private showDetail; /** * `extensions` emits a synthesized envelope rather than a raw API record — * other inspect subcommands print one upstream record, but here the JSON * nests `manifest`, `native_bindings[].record`, `bound.functions[]`, and * `bound.components[]` under shared status fields. * * The `Next steps:` footer mixes runnable shell commands and merchant-UI * lines (prefixed `(merchant)`). The structured `action` and `action_owner` * fields above give an agent a parseable signal independent of the footer. */ private emitDetail; private fetchSafe; private printPreamble; }