export type NoteAnchorId = 'scripture' | 'commentary' | 'questions' | 'general' export interface NoteEntry { id: string anchor: NoteAnchorId html: string updatedAt: string | null } export const NOTE_ANCHORS: NoteAnchorId[] export const NOTE_ANCHOR_LABELS: Record export function newNoteId(): string export function parseNoteEntries(raw: string): NoteEntry[] export function serializeNoteEntries(entries: NoteEntry[]): string export function noteHtmlToText(html: string): string export function noteEntriesToText(raw: string): string