@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
13 lines • 594 B
TypeScript
import type { JsonObject } from '../../types.ts';
/**
* Render command events as a GNU bash histfile: one `#<epoch-seconds>`
* timestamp comment line per entry followed by the command line.
* Non-command events (ops, clear tombstones) are ignored.
*/
export declare function renderBashHistory(events: JsonObject[]): string;
/**
* Render command events as `history` command output: a numbered,
* right-justified, two-space-separated listing.
*/
export declare function renderHistoryListing(events: JsonObject[], n?: number, histsize?: number): string;
//# sourceMappingURL=render.d.ts.map