import type { CommandContext, CommandResult } from '../types.js'; /** `org inbox --json '{"from":"orgA:role","subject":"...","body":"..."}' [--to role]` * (or `--from/--subject/--body`) `[--format json]`. * Inbound entrypoint for cross-org/remote delivery — orgrt/remote.ts's deliverRemote() * shells out to exactly this command over SSH, and mono-agent replies through it. * * Live path (M3): POST to the hosting daemon's /api/xdeliver with the OPERATOR * credential (readOperatorCredential), which lets the daemon trust `from` as * given — the sender org need not be registered (`workflow`, an automation * role). Without an operator credential it presents the sender org's own * broker credential, if that org is registered. Offline path: spool into * inbox.jsonl, drained into the role's mailbox on the org's next start. * * `--format json` prints `{"v":1,"org","to","from","delivery":"live"|"queued", * "receipt","messageId"}`. Exit 0 for live and queued; non-zero only for * invalid input or an unknown org. */ export declare const inboxAction: (ctx: CommandContext, name: string) => Promise; //# sourceMappingURL=org-observe-inbox.d.ts.map