/// declare module "libreoffice-convert" { function convert( document: Buffer, format: string, filter: string | undefined, callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void ): void; function convertWithOptions( document: Buffer, format: string, filter: string | undefined, options: { tmpOptions?: Record; asyncOptions?: { times?: number; interval?: number }; sofficeBinaryPaths?: string[]; sofficeAdditionalArgs?: string[]; fileName?: string; }, callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void ): void; }