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) • 421 B
TypeScript
import { type GedcomTransferProgressCallback } from "../utils/gedcom/transferProgress";
export interface GedzipMediaEntry {
readonly path: string;
readonly file: File;
}
/**
* Construit un GEDZIP via `fflate` (`zip` asynchrone).
*/
export declare function buildGedzipBlob(gedPath: string, gedcomBlob: Blob, mediaEntries: readonly GedzipMediaEntry[], onProgress?: GedcomTransferProgressCallback): Promise<Blob>;