UNPKG

gedcom-ts

Version:

TypeScript GEDCOM toolkit for browser apps: import .ged/.zip, edit typed genealogy data, and export GEDCOM or GEDZIP.

11 lines (10 loc) 777 B
import type { BookletPersonEntry } from './booklet-person'; import type { BookletChapter, BookletDetailLevel, BookletFamilyUnit } from './booklet-structure'; /** Chapter: narrative opening sentence. */ export declare function buildChapterIntroNarrative(chapter: BookletChapter): string; /** Family sheet as narrative. */ export declare function buildFamilyNarrative(family: BookletFamilyUnit, detailLevel: BookletDetailLevel): readonly string[]; /** Condensed portrait: one flowing paragraph, name cited once. */ export declare function buildPersonSummaryNarrative(entry: BookletPersonEntry): string; /** Detailed portrait: a few paragraphs, without redundant birth/death. */ export declare function buildPersonDetailedNarratives(entry: BookletPersonEntry): readonly string[];