/** * OpenClaw CLI commands: openclaw senpi runtime create | list | delete. * Thin layer: all three invoke gateway RPCs only; validation and registry live in the gateway. */ import type { RiskAuditEntry } from "../risk/risk-audit-log.js"; import type { StoredEvent } from "../telemetry/event-store.js"; /** * Register senpi subcommands on the given Commander program. */ export declare function registerSenpiCli(program: { command: (name: string, desc?: string) => CommanderCommand | unknown; }): void; /** * Render the risk audit log as a tab-separated digest (newest entries last, * as returned). Each row: time, source, then `guardrail=result` per * evaluation (with the reason appended for non-pass results). */ export declare function renderRiskAuditDigest(entries: RiskAuditEntry[]): string; export declare function renderEventsDigest(entries: StoredEvent[]): string; /** * Stitch an asset's lifecycle: events oldest-first, each line tagged with its position id where one is * present, so a reader can follow opened → dsl transitions → close across one or more positions. */ export declare function renderExplain(asset: string, entries: StoredEvent[]): string; /** Minimal Commander command type for subcommands and options. */ interface CommanderCommand { /** Commander 14 accepts either a description string or an options object (e.g. `{ hidden: true }`). */ command(name: string, descOrOpts?: string | { hidden?: boolean; }, opts?: { hidden?: boolean; }): CommanderCommand; description(desc: string): CommanderCommand; argument(name: string, description?: string): CommanderCommand; option(flags: string, description?: string): CommanderCommand; requiredOption(flags: string, description?: string): CommanderCommand; action(fn: ((opts: Record) => void | Promise) | ((arg: string, opts: Record) => void | Promise)): CommanderCommand; } export {}; //# sourceMappingURL=senpi-commands.d.ts.map