If it's useful to anyone here is an initial pass at types for this project.
declare module 'ffmetadata'{functionread(path: string,cb: (err: Error,data: any)=>void): void;functionread(path: string,options: {dryRun?: boolean;coverPath?: string},cb: (err: Error,data: any)=>void): void;functionwrite(path: string,data: Record<string,unknown>,cb: (err: Error)=>void): void;functionwrite(path: string,data: Record<string,unknown>,options: {attachments?: string[];dryRun?: boolean;coverPath?: string;id3v1?: boolean;'id3v2.3'?: boolean;},cb: (err: Error)=>void): void;functionsetFfmpegPath(path: string): void;}
If it's useful to anyone here is an initial pass at types for this project.