export interface DshUserMessage { content: { type: 'text'; text: string }[]; source: { kind: 'user' }; } export function userMessage(text: string): DshUserMessage; export function stripRe(subject: string): string; export function replySubject(subject: string, fallback?: string): string; export function lastAssistantText(events: readonly any[]): string; export function modelTitle(events: readonly any[]): string;