import { r as EnhancedPedigreeData } from '../index-D6H-lvis.js'; /** * FamilySearch to GEDCOM Converter * * Converts FamilySearch API responses into GEDCOM 5.5 format */ /** * Options for GEDCOM conversion */ interface GedcomConversionOptions { /** Tree name for the GEDCOM file header */ treeName?: string; /** Include FamilySearch links in output */ includeLinks?: boolean; /** Include notes in output */ includeNotes?: boolean; /** FamilySearch environment (production, beta, integration) */ environment?: "production" | "beta" | "integration"; /** Allow orphan families (families not connected to root person) */ allowOrphanFamilies?: boolean; /** * Set of person IDs who are in the direct ancestry of the root person. * These are the persons returned by the ancestry API before fullTree expansion. * Used to determine which persons are "connectable" to the root person. */ ancestryPersonIds?: Set; } /** * Convert FamilySearch pedigree data to GEDCOM format * * @param pedigreeData - Enhanced pedigree data from FamilySearch * @param options - Conversion options * @returns GEDCOM 5.5 formatted string * * @example * ```typescript * const pedigree = await fetchPedigree(sdk); * const gedcom = convertToGedcom(pedigree, { treeName: "My Family Tree" }); * ``` */ declare function convertToGedcom(pedigreeData: EnhancedPedigreeData, options?: GedcomConversionOptions): string; declare const convertFamilySearchToGedcom: typeof convertToGedcom; export { type GedcomConversionOptions, convertFamilySearchToGedcom, convertToGedcom };