/** * `lobu call [args]` — generic dispatcher over the admin REST surface * mounted at `POST /api/:orgSlug/:toolName`. Companion to `lobu call --list` * (`GET /api/:orgSlug/tools`). * * Argument shapes (mutually exclusive): * --input-file JSON object read from disk * stdin JSON object piped on stdin (when stdin is not a TTY) * --arg key=value flat string field (top-level only) * --arg key:= JSON-parsed field (httpie-style) * * Output is pretty JSON by default; `--raw` switches to compact JSON for piping. * Errors go to stderr with exit code 1 (ApiError) / 2 (validation). A tool * that reports failure inside a 200 payload still prints its JSON, then exits 1. */ interface CallOptions { org?: string; context?: string; inputFile?: string; arg?: string[]; list?: boolean; all?: boolean; json?: boolean; raw?: boolean; url?: string; } /** Parse a single `--arg key=value` or `key:=` entry into a [key, value]. */ export declare function parseArgEntry(entry: string): [string, unknown]; /** Build the args payload from the three mutually-exclusive sources. */ export declare function buildArgs(options: CallOptions): Promise>; export declare function callCommand(tool: string | undefined, options?: CallOptions): Promise; export {}; //# sourceMappingURL=call.d.ts.map