/** * `monomind mesh who|send|inbox` — the Monomind Mesh from a shell, for agents that have no mesh * MCP tools (a one-shot `agent exec` runtime, a script). `agent exec` hands its child the * identity in MONOMIND_MESH_ADDR / MONOMIND_MESH_KEY, so `send` and `inbox` act as that agent. */ import { type Reply } from '../mesh/client.js'; import { type ManagedPresence } from '../mesh/managed-presence.js'; import type { Command, CommandResult } from '../types.js'; type Call = (req: Record) => Promise; type Join = (alias?: string) => Promise; export interface MeshCliDeps { call: Call; /** One-shot external registration, used when the caller has no identity of its own. */ join: Join; env: NodeJS.ProcessEnv; } export declare function meshWho(flags: Record, deps: MeshCliDeps): Promise; export declare function meshSend(flags: Record, deps: MeshCliDeps): Promise; export declare function meshInbox(flags: Record, deps: MeshCliDeps): Promise; /** Hidden: runs the mesh hub in the foreground, for hosts where only a non-MCP agent (Pi) is running. */ export declare const hubCommand: Command; export declare const meshCommand: Command; export default meshCommand; //# sourceMappingURL=mesh.d.ts.map