/** * Module dependencies */ import type semver from "semver"; export declare namespace Publish { /** * Standard release type. */ type ReleaseType = semver.ReleaseType; /** * Custom release type. */ type CustomReleaseType = "custom"; /** * Definition of publish options */ interface IOptions { /** * Generate or update `DEPCOST.md`, defaults to `true` */ depcost?: boolean; /** * Execute git push & tag push to remote git origin, defaults to `true` */ push?: boolean; } /** * Definition of versions candidate. */ type VersionCandidate = Partial>; /** * Definition of release prompt answers. */ interface IPromptAnswers { releaseType: ReleaseType | CustomReleaseType; customVersion: string; npmTag: string; customNpmTag: string; } /** * Definition of result for selectVersionAndTag. */ interface ISelectVersionAndTagResult { tag: string; version: string; } } //# sourceMappingURL=types.d.ts.map