UNPKG

gedcom-ts

Version:

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

9 lines (8 loc) 462 B
export type GedcomActEntry = string[]; export type ActsExtractionResult = { entries: GedcomActEntry[]; indis: number[]; }; /** Level-1 tag from a line like `1 BIRT` or `1 DIVF` (no false match on `DIV` vs `DIVF`). */ export declare function gedcomLevel1Tag(line: string): string | null; export declare function extractActEntriesAndIndis(lines: string[], initialIndis: number[], textualIndiXrefToIndi?: ReadonlyMap<string, number>): ActsExtractionResult;