import { SystemError, UserError } from "@microsoft/teamsfx-api"; export declare const CoreSource = "Core"; export declare enum CoreErrorNames { InvalidInput = "InvalidInput", ProjectFolderExist = "ProjectFolderExist", WriteFileError = "WriteFileError", ReadFileError = "ReadFileError", CallFuncRouteFailed = "CallFuncRouteFailed", getQuestionsForUserTaskRouteFailed = "getQuestionsForUserTaskRouteFailed", executeUserTaskRouteFailed = "executeUserTaskRouteFailed", InvalidContext = "InvalidContext", EnvAlreadyExist = "EnvAlreadyExist", EnvNotExist = "EnvNotExist", LoadSolutionFailed = "LoadSolutionFailed", FileNotFound = "FileNotFound", UncatchedError = "UncatchedError", NotSupportedProjectType = "NotSupportedProjectType", InitError = "InitError", DownloadSampleFail = "DownloadSampleFail" } export declare function InvalidContext(): UserError; export declare function WriteFileError(e: Error): SystemError; export declare function ReadFileError(e: Error): SystemError; export declare function EnvAlreadyExist(param: any): UserError; export declare function EnvNotExist(param: any): UserError; export declare function NotSupportedProjectType(): UserError; //# sourceMappingURL=error.d.ts.map