gedcom-ts
Version:
TypeScript GEDCOM toolkit for browser apps: import .ged/.zip, edit typed genealogy data, and export GEDCOM or GEDZIP.
10 lines (9 loc) • 507 B
TypeScript
import type { BookletLocale } from './booklet-locale';
import type { BookletSex, PersonGenderWords } from './booklet-gender';
export interface GenderPhraseBundle {
readonly recensedChildren: (count: number) => string;
readonly otherUnions: (count: number) => string;
readonly usesPluralS: boolean;
}
export declare const GENDER_WORDS: Partial<Record<BookletLocale, Record<BookletSex, PersonGenderWords>>>;
export declare const GENDER_PHRASES: Partial<Record<BookletLocale, GenderPhraseBundle>>;