export declare function hasLikelyMojibake(text: string): boolean;
export declare function cleanSessionTitleCandidate(title: string | undefined | null, options?: {
    maxLength?: number;
}): string | undefined;
export declare function titleFromPromptFallback(prompt: string, fallback: string, options?: {
    maxLength?: number;
    ellipsis?: string;
}): string;
export declare function deterministicSessionTitleForPrompt(prompt: string): string | null;
