export type NotificationSpan = { kind: "text"; text: string; } | { kind: "bold"; text: string; } | { kind: "code"; text: string; } | { kind: "link"; text: string; href: string; }; export type NotificationBlock = { kind: "paragraph"; spans: NotificationSpan[]; } | { kind: "bullets"; items: NotificationSpan[][]; }; /** One line's spans. Only https links become links. */ export declare function parseNotificationInline(line: string): NotificationSpan[]; /** Paragraphs (blank-line separated; single line breaks kept) and bullet lists. */ export declare function parseNotificationText(text: string): NotificationBlock[]; /** The text as one plain line, for previews that clamp to a line or two. */ export declare function notificationPlainText(text: string): string;