import HttpException from "../../interfaces/exception.interface"; import { ApiAccessRequire, ApiAccessType, ApiModule, SessionType, VerificationCodeTarget } from "../../enums"; declare const Errors: { SERVICE_Closed: (reason: string) => HttpException; SERVICE_PROVIDER_ApiError: (reason: string) => HttpException; NOT_FOUND_User: (reason: string) => HttpException; NOT_FOUND_UserId: (userId: number) => HttpException; NOT_FOUND_UserEmail: (userEmail: string) => HttpException; NOT_FOUND_Role: (userId: number, role: string) => HttpException; NOT_FOUND_VerificationCode: () => HttpException; NOT_FOUND_RefreshToken: () => HttpException; NOT_FOUND_PlanningSession: () => HttpException; NOT_FOUND_PlanningSessionId: (sessionId: number) => HttpException; CONFLICT_Email: (email: string) => HttpException; CONFLICT_SameEmail: (email: string) => HttpException; CONFLICT_PlanningSession: (type: SessionType) => HttpException; CONFLICT_WalletAddress: (address: string) => HttpException; CONFLICT_WalletBind: (email: string) => HttpException; REJECTED_Password: () => HttpException; REJECTED_VerificationCode: (email: string, target: VerificationCodeTarget) => HttpException; REQUIRE_Token: () => HttpException; REQUIRE_Role: (role: string) => HttpException; REQUIRE_Whitelist: () => HttpException; REQUIRE_Access: () => HttpException; INVALID_VerificationCode: (email: string) => HttpException; INVALID_Token: (error: string) => HttpException; INVALID_Parameter: (reason: string) => HttpException; EXPIRED_VerificationCode: () => HttpException; EXPIRED_Token: () => HttpException; MISSING_Parameter: () => HttpException; MISSING_Filter: () => HttpException; RESTRICTED_VerificationCode: (amount: number, type: string) => HttpException; RESTRICTED_Login: (email: any, amount: number, type: string) => HttpException; REJECTED_Signature: () => HttpException; NOT_FOUND_WalletValidator: (address: string) => HttpException; NOT_FOUND_Wallet: (reason: string) => HttpException; NOT_FOUND_WalletAddress: (address: string) => HttpException; REJECTED_WalletUnbind: (ownerIdentifier: string, address: string) => HttpException; NOT_FOUND_NewsletterSubscription: (userIdentifier: string) => HttpException; NOT_FOUND_DiscordValidator: (discordId: string) => HttpException; NOT_FOUND_DiscordAccount: (discordId: string) => HttpException; CONFLICT_DiscordNotAvailable: (discordId: string) => HttpException; CONFLICT_DiscordBind: (ownerIdentifier: string) => HttpException; REQUIRE_DiscordEmail: () => HttpException; NOT_FOUND_Application: (id: string) => HttpException; NOT_FOUND_ApplicationScope: (applicationId: number, module: ApiModule) => HttpException; NOT_FOUND_ApplicationUser: (reason: string) => HttpException; REQUIRE_Ownership: (reason: string) => HttpException; INVALID_ApiKey: () => HttpException; REQUIRE_ApiKey: () => HttpException; REQUIRE_APP_Scope: (module: string) => HttpException; REQUIRE_APP_TypeAccess: (type: ApiAccessType, required: ApiAccessType) => HttpException; REQUIRE_APP_AccessRequire: (require: ApiAccessRequire) => HttpException; }; export default Errors;