UNPKG

read-gedcom

Version:
9 lines (8 loc) 533 B
import { TreeNodeRoot } from '../tree'; /** * Builds a tree from tokenized Gedcom lines. * @param lines An iterable of regular expression matches, which format is defined in {@link tokenize} * @param noInlineContinuations See {@link GedcomReadingOptions.noInlineContinuations} * @param progressCallback See {@link GedcomReadingPhase.progressCallback} */ export declare const buildTree: (lines: Iterable<RegExpExecArray>, noInlineContinuations?: boolean, progressCallback?: ((charsRead: number) => void) | null) => TreeNodeRoot;