export declare function getValidVersion(range: string, version?: string): string;