UNPKG

gedcom-ts

Version:

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

19 lines (18 loc) 561 B
import { Identifier } from "./Identifier.enum"; export type TypeNote = Identifier.CONC | Identifier.CONT | undefined; export declare class Note { INDIS: number[]; type: TypeNote; lines: string[]; updateLines(lines: string[]): void; removeLines(): void; updateType(typeNote: TypeNote): void; addIndis(INDIS: number[]): void; } export declare class Notes { list: Note[]; addNote(note: Note): void; updateFromIndex(note: Note, indexNote: number): void; removeFromIndex(indexNote: number): void; removeAll(): void; }