import { LLMObsTracer } from "../../llmobs/tracer.js";
import type { SummarizeResult } from "./phase2-session-summarizer.js";
import type { StoredMessage } from "./types.js";
/**
 * Creates a truncation-based fallback when LLM summarization fails.
 * Generates a timeline summary of the conversation without returning
 * the actual messages, which can cause provider errors.
 */
export declare function createTruncationFallback(messages: StoredMessage[], tracer?: LLMObsTracer): SummarizeResult;
//# sourceMappingURL=truncation-fallback.d.ts.map