gedcom-ts
Version:
TypeScript GEDCOM toolkit for browser apps: import .ged/.zip, edit typed genealogy data, and export GEDCOM or GEDZIP.
12 lines (11 loc) • 670 B
TypeScript
import type { BookletLocale } from './booklet-locale';
import type { BookletPersonEntry } from './booklet-person';
import type { BookletChapter, BookletDetailLevel } from './booklet-structure';
export interface BookletPdfContentMeta {
readonly title: string;
readonly scopeLabel: string;
readonly referenceName?: string;
readonly personCount: number;
}
/** All strings embedded in a booklet PDF (for runtime font subsetting). */
export declare function collectBookletPdfContentText(entries: readonly BookletPersonEntry[], meta: BookletPdfContentMeta, chapters: readonly BookletChapter[], detailLevel: BookletDetailLevel, locale?: BookletLocale): string;