#!/usr/bin/env node import { Command } from "commander"; import { renderResponse } from "../src/foundation/renderer/index.ts"; type Io = { log: (message: unknown) => unknown; error: (message: unknown) => unknown; }; type Terminal = { stdin: { isTTY?: boolean; }; stdout: { isTTY?: boolean; }; }; type CliOptions = { afterDigest?: string; afterLength?: number; all?: boolean; audience?: string; commit?: string; confirmDecision?: boolean; createdBefore?: string; createdSince?: string; expectedDigest?: string; expectedLength?: number; expectedPrimary?: string; fullHistory?: boolean; input?: string; json?: boolean; language?: string; limit?: string; query?: string; remote?: boolean; root: string; sort?: string; staged?: boolean; state?: string[]; trace?: string; worktree?: boolean; }; type Runtime = { bootstrapStartedAt?: bigint; renderTui?: (content: string, terminal: Terminal) => Promise; terminal?: Terminal; }; type CommandReport = { observation: { state: string; receipt?: { reduction?: { ok?: boolean; }; format?: { ok?: boolean; }; }; }; response: Parameters[0]; }; export declare function normalizeTraceFileName(value: string): string; export declare function selectOutputRenderer({ audience, json, stdinIsTTY, stdoutIsTTY, }: { audience?: string; json?: boolean; stdinIsTTY?: boolean; stdoutIsTTY?: boolean; }): "json" | "markdown" | "tui"; export declare function render(report: CommandReport, { audience, json }?: Pick, io?: Io, { renderTui, terminal, }?: Runtime): Promise; export declare function createProgram(io?: Io, runtime?: Runtime): Command; export declare function runCli(args: readonly string[], io?: Io, runtime?: Runtime): Promise; export declare function isMain(importMetaUrl: string, argv?: readonly string[], { platform, realpath }?: { platform?: NodeJS.Platform; realpath?: (path: string) => string; }): boolean; export {}; //# sourceMappingURL=silvermoon.d.ts.map