1 | import { MaybeGemVersion, Platform } from './ruby/gem-version';
|
2 | export { valid, prerelease, platform, major, minor, patch, inc };
|
3 | type Segment = string | number;
|
4 | declare const inc: () => never;
|
5 | declare function valid(v: MaybeGemVersion): string | null;
|
6 | declare function prerelease(v: MaybeGemVersion): Segment[] | null;
|
7 | declare function platform(v: MaybeGemVersion): Platform | null;
|
8 | declare function major(v: MaybeGemVersion): Segment | null;
|
9 | declare function minor(v: MaybeGemVersion): Segment | null;
|
10 | declare function patch(v: MaybeGemVersion): Segment | null;
|