@remotion/install-whisper-cpp
Version:
Helpers for installing and using Whisper.cpp
10 lines (9 loc) • 395 B
TypeScript
/**
* Compares two version strings.
*
* @param version1 - The first version string.
* @param version2 - The second version string.
* @returns 1 if version1 > version2, -1 if version1 < version2, 0 if they are equal.
* @throws {Error} If either version is not a valid string or has an invalid format.
*/
export declare function compareVersions(version1: string, version2: string): number;