/** * Title drift detection: one yes/no judge question whether a session's * generated title still names its recent conversation, so a * `title.refreshAfterPrompts` check regenerates only a title the session has * moved away from. */ import { type Judge } from "@oh-my-pi/pi-ai"; import type { TitleDriftTurn } from "./messages.js"; /** `true` when `title` no longer fits `recent`, `false` when it does, `undefined` when no judge answered. */ export declare function classifyTitleDrift(judge: Judge, title: string, recent: TitleDriftTurn[], signal?: AbortSignal): Promise;