export declare function shortenPath(p: string, max: number): string; export declare function previewArgs(input: unknown): string; export declare function previewOutput(output: string): string; export declare function fmtTok(n: number): string; export declare function fmtDuration(ms: number): string; export declare function fmtBytes(n: number): string; export declare function truncMid(s: string, max: number): string; export declare function stringOf(v: unknown): string | undefined; export declare function numOf(v: unknown): number | undefined; export declare function tryParseJson(s: string): unknown; export declare function scanNumberedRange(text: string): { first?: number | undefined; last?: number | undefined; count: number; }; export declare function countLines(text: string): number; export declare function firstNonEmpty(text: string): string | undefined; export declare function formatMatchHit(hit: unknown): string | undefined; //# sourceMappingURL=basic-format.d.ts.map