import type { MessagePart } from '../../types/api';
interface CompactActivityEntry {
    id: string;
    label: string;
    toolName?: string;
    path?: string;
    query?: string;
    url?: string;
    fullText?: string;
    startedAt?: number | null;
    completedAt?: number | null;
}
interface CompactActivitySummary {
    title: string;
    details: string[];
}
/**
 * Returns true when a message part represents exploratory activity that should
 * be grouped in the compact thread renderer.
 */
export declare function isCompactActivityPart(part: MessagePart): boolean;
/**
 * Converts a part into a compact activity entry suitable for the rolling log.
 */
export declare function getCompactActivityEntry(part: MessagePart): CompactActivityEntry | null;
/**
 * Builds compact activity entries while de-duplicating completed tool calls.
 */
export declare function buildCompactActivityEntries(parts: MessagePart[]): CompactActivityEntry[];
/**
 * Summarizes a rolling sequence of exploratory activity for the compact UI.
 */
export declare function summarizeCompactActivities(entries: CompactActivityEntry[]): CompactActivitySummary;
export type { CompactActivityEntry, CompactActivitySummary };
//# sourceMappingURL=compactActivity.d.ts.map