/** Numeric sort key. Plain string sort puts 8.9.0 after 22.1.0. */ export declare function versionKey(version: string): number; /** Compare two version strings. */ export declare function compareVersions(a: string, b: string): number; /** * Pick the bundled schema version to use for a version read from a file. * * IDF files write `Version, 9.0;` while schemas are keyed `9.0.1`, so an exact * match often fails on the patch component. Matching on major.minor first is * what makes "support every version" actually work against real files rather * than only against files whose patch number happens to line up. * * Returns undefined rather than guessing when there is no match at all; * silently loading the wrong schema would mis-map every positional field. */ export declare function resolveVersion(detected: string, available: readonly string[]): string | undefined; //# sourceMappingURL=versions.d.ts.map