/**
 * `lobu call <tool> [args]` — generic dispatcher over the admin REST surface
 * mounted at `POST /api/:orgSlug/:toolName`. Companion to `lobu call --list`
 * (`GET /api/:orgSlug/tools`).
 *
 * Design ref: `/Users/burakemre/.claude/plans/lobu-call-dispatcher.md`.
 *
 * Argument shapes (mutually exclusive):
 *   --input-file <path>     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:=<jsonvalue>  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).
 */
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:=<json>` 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<Record<string, unknown>>;
export declare function callCommand(tool: string | undefined, options?: CallOptions): Promise<void>;
export {};
//# sourceMappingURL=call.d.ts.map