1 | import semver = require('../index');
|
2 | import SemVer = require('../classes/semver');
|
3 | /**
|
4 | * Return the parsed version as a string, or null if it's not valid.
|
5 | */
|
6 | declare function valid(
|
7 | version: string | SemVer | null | undefined,
|
8 | optionsOrLoose?: boolean | semver.Options,
|
9 | ): string | null;
|
10 |
|
11 | export = valid;
|