import type { ImportSpecifier, ProjectAttribute, RootPackage } from '@-xun/project'; export { TaskError } from '@-xun/cli/error'; export declare const BuildOutputCheckError: import("@-xun/error").SpecificErrorClassConstructor<{ name: string; message: string; stack?: string; cause?: unknown; }> & import("@-xun/error").NamedErrorConstructorStaticProperties<{ name: string; message: string; stack?: string; cause?: unknown; }>; /** * Represents encountering a project that is not a git repository. */ export type BuildOutputCheckError = InstanceType; /** * A collection of possible error and warning messages. */ export declare const ErrorMessage: { BadUserGroup(userGroup: string): string; EslintPluginReturnedSomethingUnexpected(identifier: string): string; BabelCorejsInstalledVersionTooOld(coreJsLibraryVersion: string, CORE_JS_LIBRARY_VERSION: string, resolvedCoreJsVersion: string, packageRoot: string): string; BabelCorejsInstalledVersionRangeNotSatisfactory(coreJsLibraryVersion: string, CORE_JS_LIBRARY_VERSION: string, cwdPackageCoreJsDependency: string, packageName: string | undefined, packageRoot: string): string; BadSkipArgs(): string; BadPostNpmInstallScript(path: string): string; BadMjsImport(path: string): string; BadAdditionalChangelogSection(path: string): string; BadGeneratedChangelogSection(): string; CannotAccessDirectory(path: string): string; CannotReadFile(path: string): string; CannotWriteFile(path: string): string; CannotCopyFile(from: string, to: string): string; CannotMakeDirectory(path: string): string; CannotUseIgnoresWithPathsOutsideProjectRoot(): string; CannotStatOutputTarget(outputTarget: string): string; CliProjectHasBadBinConfig(): string; CannotRunOutsideRoot(): string; CannotRunInNonHybridMonorepoRootPackage(): string; CannotUseNodeOptionsOnNonNodeRuntime(): string; InvalidRuntime(): string; CleanCalledWithoutForce(): string; XChangelogMonkeyPatchFailedToTake(filename: string): string; JestChangelogMonkeyPatchFailedToTake(error: unknown): string; WrongProjectAttributes(expected: ProjectAttribute[], actual: RootPackage["attributes"], preposition?: string): string; BadProjectNameInDistributablePackageJson(): string; BadExportsInDistributablePackageJson(): string; BadRepositoryInPackageJson(packageName: string): string; BadEnginesNodeInPackageJson(path: string): string; MustChooseDeployEnvironment(): string; MissingSymbioteEnvironmentVariable(variableName: string): string; MultipleConfigsWhenExpectingOnlyOne(filename1: string, filename2: string): string; MarkdownNoUndefinedReferences(): string; NoCurrentBranch(): string; LintingFailed(): string; MissingConfigurationFile(path: string): string; TestingFailed(): string; BuildOutputChecksFailed(): string; ConfigAssetEnvironmentValidationFailed(subject: string, badValue: string, validValues: readonly string[]): string; RenovateEnvironmentValidationFailed(): string; ReleaseEnvironmentValidationFailed(): string; ReleaseRepositoryStateValidationFailed(): string; ReleaseScriptExecutionFailed(): string; ReleaseRunnerExecutionFailed(): string; PreparationRunnerExecutionFailed(): string; RenovationRunnerExecutionFailed(): string; RenovationSubtaskOperationFailed(index: number): string; ReleaseFinishedWithADirtyRepo(): string; ReleaseFailedRepoRolledBack(): string; TopologyRunScriptExecutionFailed(): string; BadReleaseSectionPath(): string; BadParserOpts(): string; BadWriterOpts(): string; CodecovDownloaderOnlySupportsLinux(): string; FailedToInstallCodecov(): string; CodecovRetrievalFailed(url: string): string; AssetRetrievalFailed(path: string): string; UnmatchedCommitType(type: string | undefined, variableName: string): string; IssuePrefixContainsIllegalCharacters(): string; MustInstallSymbioteToRunThisCommand(): string; CannotImportConventionalConfig(path: string): string; CannotImportJestConfig(path: string): string; CannotExtractTestPathIgnorePatternsFromJestConfig(): string; CannotImportTsconfig(): string; DefaultImportFalsy(): string; BadParameter(name: string): string; TranspilationReturnedNothing(sourcePath: string, outputPath: string): string; TaskNotRunnable(id: string, npmScripts: string[]): string; UnsupportedRenovationScope(taskName: string, givenScope: string, supportedScopes: string[]): string; CannotGenerateCurrentPackagePathInUnlimitedScope(pathsLike: string[]): string; DangerousRenovationRequiresForce(taskName: string): string; ActionAttemptedOnPrivatePackage(actionNoun: string): string; ActionAttemptedWithADirtyRepo(actionNoun: string): string; ActionAttemptedWithIllegalExperimentalVersion(actionNoun: string, modernStyleTag: string): string; RenovationRepositoryExtraneousRuleset(rulesetName: string): string; RenovationEncounteredObsoleteProtectionRules(branch: string): string; RenovationDestinationAlreadyExists(path: string): string; RenovationTagAliasAlreadyExists(tag: string): string; UnsupportedFeature(feature: string): string; /** * These are "error" messages that are not necessarily meant to be the message * of an {@link Error} instance, but are reported to the user in other ways * (such as via `rejoinder`). They may not follow the same standard * punctuation and capitalization rules as the other error messages. */ specialized: { BabelCorejsVersionUnresolvable(coreJsLibraryVersion: string, CORE_JS_LIBRARY_VERSION: string): string; BabelCorejsDependencyMissing(coreJsLibraryVersion: string, CORE_JS_LIBRARY_VERSION: string, cwdPackageCoreJsDependency: string | undefined, packageName: string | undefined, packageRoot: string): string; BabelCorejsEgregiousPackageJsonFileInBuildOutput(originalSpecifier: string, inputFilepath: string): string; BuildOutputIntermediates(): string; BuildOutputPartial(): string; BuildSucceededButOutputCheckFailed(): string; ExportSubpathsPointsToInaccessible(subpaths: [subpath: string, target: string][]): string; DistributablesSpecifiersPointToInaccessible(specifiers: ImportSpecifier[]): string; DistributablesSpecifiersPointOutsideDist(specifiers: ImportSpecifier[]): string; DistributablesSpecifiersDependenciesMissing(packageSpecifiers: [...ImportSpecifier, packageName: string][]): string; DependenciesExtraneous(packagesMeta: [name: string, type: string][]): string; OthersSpecifiersDependenciesMissing(packageSpecifiers: [...ImportSpecifier, packageName: string][]): string; }; GuruMeditation(): string; UnsupportedCommand(): string; CommandDidNotComplete(command: string): string; IgnoredOptions(args: string[]): string; BadOptionValue(name: string, value: unknown, context?: string): string; };