1 | import semver = require('../index');
|
2 | import SemVer = require('../classes/semver');
|
3 |
|
4 | /**
|
5 | * Coerces a string to SemVer if possible
|
6 | */
|
7 | declare function coerce(
|
8 | version: string | number | SemVer | null | undefined,
|
9 | options?: semver.CoerceOptions,
|
10 | ): SemVer | null;
|
11 |
|
12 | export = coerce;
|