declare enum CI { TEAMCITY = 0, TRAVIS = 1, OTHER = 2, NONE = 3 } /** * Provides all the build information regardless of the CI Tool. */ declare class Environment { readonly projectName: string; readonly configName: string; readonly ci: CI; readonly buildId: string; readonly buildNumber: string; readonly pullRequestBranch: string; readonly pullRequestNumber: string; readonly targetBranch: string; readonly commitMessage: string; readonly githubToken: string; readonly slackChannels: string[]; readonly isReleaseSetup: boolean; readonly isPreRelease: boolean; readonly isRelease: boolean; readonly packageName: string; readonly packageVersion: string; readonly owner: string; readonly repo: string; private releaseRegEx; constructor(); /** * Return the raw object obtained from reading the project's `package.json` file. */ readPackage(): any; protected getCIEnvironment(): CI; protected getProjectName(): string; protected getConfigName(): string; protected getBuildId(): string; protected getBuildNumber(): string; protected getPullRequestBranch(): string; protected getPullRequestNumber(): string; protected getTargetBranch(): string; protected getCommitMessage(): string; protected getSlackChannels(): string[]; private getRepoInfo; } export { CI, Environment, };