export interface ToolGroupSummaryTool {
    name: string;
    args: Record<string, unknown>;
    status: "running" | "done";
    isError?: boolean;
    result?: string;
}
export interface SummarySegment {
    text: string;
    bold: boolean;
    /** Semantic tool tone. Resolved to theme colors by each renderer. */
    tone?: "read" | "search" | "write" | "run" | "web" | "agent" | "state" | "source" | "default";
}
export type GroupRenderer = (tools: readonly ToolGroupSummaryTool[], allDone: boolean) => SummarySegment[][];
export declare function plural(count: number, singular: string, pluralForm?: string): string;
export declare function shortenValue(value: string, maxLength?: number): string;
export declare function basename(path: string): string;
export declare function detailSuffix(values: readonly string[], options?: {
    quote?: boolean;
    maxLength?: number;
}): string;
export declare function buildToolGroupSummary(tools: readonly ToolGroupSummaryTool[], allDone: boolean, extraRenderers?: Record<string, GroupRenderer>): SummarySegment[];
export declare function segmentsToPlainText(segments: readonly SummarySegment[]): string;
//# sourceMappingURL=tool-group-summary.d.ts.map