import type { ChatMessage } from "../../protocol/wire/index.js";
import type { SessionMetadata, TaskSummaryDeps } from "./session-types.js";
export declare function shouldGenerateTaskSummary(metadata: SessionMetadata): boolean;
export declare function generateSessionTitle(userMessage: string, deps: TaskSummaryDeps): Promise<string | null>;
export declare function maybeGenerateTaskSummary(sessionId: string, metadata: SessionMetadata, recentMessages: ChatMessage[], deps: TaskSummaryDeps, projectRoot: string): Promise<string | null>;
