/** * Validates a semver string (with optional pre-release and/or build metadata). * If valid, returns the version string with build metadata stripped. * Returns undefined if the string is not a valid semver. * * @internal */ export declare const getSanitizedTypeScriptVersion: (version?: string) => string | undefined;