export declare const safeText: (value: unknown) => string; export declare const formatActorDataPreview: (data: unknown, maxChars?: number) => string | undefined; /** Empty durations are omitted by UI metric/field renderers. */ export declare const formatDuration: (milliseconds: number) => string; export declare const formatTokens: (tokens: number) => string; export declare const formatCost: (usd: number) => string; export declare const formatClock: (timestamp: number) => string; export declare const padToWidth: (value: string, width: number) => string; export declare const wrapPlainText: (value: string, width: number, maxLines?: number) => string[]; /** * A Claude Code-style badge on the editor border: a block in the border's own * colour, which Pi sets from the thinking level, with black or white text, * whichever has the higher WCAG contrast. `sample` is any text styled in the * border colour; a border drawn without colour gets a plain label, unstyled like it. */ export declare const borderBadge: (sample: string, text: string) => string; //# sourceMappingURL=format.d.ts.map