import { FxError, SystemError, UserError } from "@microsoft/teamsfx-api"; export declare class FileNotFoundError extends UserError { constructor(source: string, filePath: string, helpLink?: string); } export declare class MissingEnvironmentVariablesError extends UserError { constructor(source: string, variableNames: string, filePath?: string, helpLink?: string); } export declare class InvalidActionInputError extends UserError { constructor(actionName: string, parameters: string[], helpLink?: string); } export declare class InvalidProjectError extends UserError { constructor(projectPath: string); } export declare class MultipleAuthError extends UserError { constructor(authNames: Set); } export declare class MultipleServerError extends UserError { constructor(serverUrls: Set); } export declare class InjectAPIKeyActionFailedError extends UserError { constructor(); } export declare class InjectOAuthActionFailedError extends UserError { constructor(); } export declare class DeclarativeAgentPathNotFoundError extends UserError { constructor(manifestPath: string); } export declare class ActionNotFoundError extends UserError { constructor(declarativeAgentPath: string); } export declare class SpecNotFoundError extends UserError { constructor(pluginPath: string); } export declare class OriginalSpecNotFoundError extends UserError { constructor(originalSpecPath: string); } export declare class JSONSyntaxError extends UserError { constructor(filePathOrContent: string, error: any, source?: string); } export declare class ReadFileError extends SystemError { constructor(e: Error, source?: string); } export declare class WriteFileError extends SystemError { constructor(e: Error, source?: string); } export declare class FilePermissionError extends UserError { constructor(e: Error, source?: string); } export declare class UnhandledError extends SystemError { constructor(e: Error, source?: string); } export declare class UnhandledUserError extends UserError { constructor(e: Error, source?: string, helpLink?: string); } export declare class InstallSoftwareError extends UserError { constructor(source: string, nameAndVersion: string, helpLink?: string); } export declare class MissingRequiredInputError extends UserError { constructor(name: string, source?: string); } export declare class InputValidationError extends UserError { constructor(name: string, reason: string, source?: string); } export declare class NoEnvFilesError extends UserError { constructor(source: string); } export declare class MissingRequiredFileError extends UserError { constructor(source: string, task: string, file: string); } export declare class NetworkError extends UserError { constructor(source: string, reason: string); } export declare function matchDnsError(message?: string): string | undefined; export declare class HttpClientError extends UserError { constructor(error: any, actionName: string, responseBody: string, helpLink?: string); } export declare class HttpServerError extends SystemError { constructor(error: any, actionName: string, responseBody: string); } export declare class AccessGithubError extends UserError { constructor(url: string, source: string, error: any); } export declare class UserCancelError extends UserError { constructor(actionName?: string); } export declare class NeedRedoError extends UserError { constructor(source: string); } export declare class EmptyOptionError extends SystemError { constructor(name: string, source?: string); } export declare class NotImplementedError extends SystemError { constructor(source: string, method: string); } export declare class MFARequiredError extends UserError { constructor(source: string); } export declare class ConcurrentError extends UserError { constructor(source: string); } export declare class InternalError extends UserError { constructor(error: any, source: string); } export declare function assembleError(e: any, source?: string): FxError; export declare function isUserCancelError(error: Error): boolean; export declare class NoProjectOpenedError extends UserError { constructor(); } export declare class MigrationError extends UserError { constructor(e: Error, name: string, helpLink?: string); } export declare class NotAllowedMigrationError extends UserError { constructor(); } export declare class FailedToLoadManifestId extends UserError { constructor(manifestPath: string); } export declare class VideoFilterAppRemoteNotSupportedError extends UserError { constructor(); } export declare class UpgradeV3CanceledError extends UserError { constructor(); } export declare class IncompatibleProjectError extends UserError { constructor(messageKey: string); } export declare class AbandonedProjectError extends UserError { constructor(); } export declare class FailedToParseResourceIdError extends UserError { constructor(name: string, resourceId: string); } export declare class NpmInstallError extends SystemError { constructor(e: Error, source?: string); } export declare class FileNotSupportError extends UserError { constructor(source: string, validFormat: string); } export declare const CoreSource = "Core"; //# sourceMappingURL=common.d.ts.map