import type { LocalCommand } from '../commands.js'; import type { CodeRatioAuthorStats, CodeRatioReport } from '../dsh-adapter/productivity.js'; export interface LoadedFileLike { readonly displayPath: string; } export interface FilesCopy { readonly heading: string; readonly empty: string; readonly unavailable: string; } /** Format only the files in the authoritative loaded-context projection. */ export declare function loadedFileLines(files: readonly LoadedFileLike[] | undefined, copy: FilesCopy): string[]; export interface HubCopy { readonly heading: string; readonly aliases: string; readonly workflows: string; readonly context: string; readonly session: string; readonly empty: string; } /** Build a compact command guide without advertising unmounted commands. */ export declare function commandHubLines(commands: readonly LocalCommand[], descriptionOf: (command: LocalCommand) => string, copy: HubCopy): string[]; /** Pick a safe one-line fork title, preserving the existing generated form. */ export declare function forkSessionTitle(requested: string | undefined, sourceTitle: string, sourceId: string): string; export interface CodeRatioCopy { period(since: string, limit: number): string; summary(commits: number, added: number, deleted: number, changed: number): string; author(author: CodeRatioAuthorStats, ratio: string): string; other(authors: number): string; binary(count: number): string; truncated(limit: number): string; readonly empty: string; unavailable(reason: string): string; readonly note: string; } /** Render a bounded local Git churn report. */ export declare function codeRatioLines(report: CodeRatioReport, copy: CodeRatioCopy, maxAuthors?: number): string[]; //# sourceMappingURL=commonUtilityCommands.d.ts.map