import type { CronDTO } from '../../api/dto/crons.js'; export type InspectorSection = 'overview' | 'schedule' | 'raw'; export interface ScheduledItem { cron: CronDTO; nextAt: string; cadence: string; target: string; } export declare const ICON: { readonly identity: string; readonly state: string; readonly place: string; readonly graph: string; readonly artifacts: string; readonly paths: string; readonly cron: string; readonly section: string; readonly raw: string; readonly empty: string; }; /** Semantic tone for a value. Hue is always paired with a word or glyph so the * meaning survives NO_COLOR / a mono terminal. */ export type Tone = 'plain' | 'dim' | 'good' | 'warn' | 'bad' | 'accent'; export interface Field { label: string; value: string; tone?: Tone; /** Glyph drawn immediately before the value, in the value's tone. */ glyph?: string; } export interface Group { icon: string; title: string; fields: Field[]; } export declare function statusVisual(status: string): { glyph: string; tone: Tone; }; export declare function scheduledItems(crons: readonly CronDTO[]): ScheduledItem[]; export declare function relativeTime(iso: string | null, now?: number): string; /** How long ago an ISO timestamp was, e.g. `3d ago`. `—` when absent. */ export declare function ago(iso: unknown, now?: number): string; /** `$HOME/x` → `~/x`; everything else verbatim. Paths are long and the tail is * the informative end, so the draw layer clips them, not this. */ export declare function shortPath(input: unknown, home?: string): string; /** 97526 → `97.5k`. Token counts are read at a glance, not audited. */ export declare function compactCount(input: unknown): string; /** The overview, grouped into the cards the presenters draw. Ordering is the * reading order: who → what it is doing → where → its graph → what it produced * → where that lives on disk. */ export declare function overviewGroups(dossier: Record | null): Group[]; export declare function record(value: unknown): Record; export declare function value(value: unknown): string;