import type { SessionEntry } from "../../../session-manager.ts";
import { type TodoAsk } from "./todo-types.ts";
export declare const ASK_TEXT_LIMIT = 200;
export declare function firstTextBlock(content: unknown): string | undefined;
export declare function truncateAskText(text: string): string;
/**
 * The ask a newly created list anchors to. The first list of a branch anchors to the
 * session's first user request; a later list-creating call is an explicit redirect and
 * anchors to the newest user request. Ask-user answer frames are replies, not requests.
 * A compaction restore request newer than both the last list and the last user request
 * re-emits the ask its snapshot carried; the model never supplies an ask itself.
 */
export declare function captureListAsk(entries: readonly SessionEntry[], capturedAt: number): TodoAsk | undefined;
//# sourceMappingURL=todo-ask.d.ts.map