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) • 791 B
TypeScript
import type { BookletPersonEntry } from './booklet-person';
import type { BookletChapter, BookletDetailLevel, BookletFamilyUnit } from './booklet-structure';
/** Chapitre : phrase d'ouverture narrative. */
export declare function buildChapterIntroNarrative(chapter: BookletChapter): string;
/** Fiche famille en récit. */
export declare function buildFamilyNarrative(family: BookletFamilyUnit, detailLevel: BookletDetailLevel): readonly string[];
/** Portrait condensé : un paragraphe fluide, nom cité une fois. */
export declare function buildPersonSummaryNarrative(entry: BookletPersonEntry): string;
/** Portrait détaillé : peu de paragraphes, sans redondance naissance/décès. */
export declare function buildPersonDetailedNarratives(entry: BookletPersonEntry): readonly string[];