import { type ILogger, type Logger, type ErrorLog, type ThrownErrorLog, type InfoLog, type SuccessLog, type WarningLog, type Log } from "@yamato-daiwa/es-extensions"; declare abstract class ConsoleApplicationLogger { protected static localization: Logger.Localization; static setLocalization(localization: Logger.Localization): typeof ConsoleApplicationLogger; static throwErrorWithFormattedMessage(thrownErrorLog: ThrownErrorLog, options?: ILogger.ThrowingErrorWithFormattedMessage.Options): never; static logError(polymorphicPayload: ErrorLog | string): void; static logErrorLikeMessage(polymorphicPayload: Log | string): void; static logWarning(polymorphicPayload: WarningLog | string): void; static logInfo(polymorphicPayload: InfoLog | string): void; static logSuccess(polymorphicPayload: SuccessLog | string): void; static logDebug(polymorphicPayload: Log | string | number | bigint | boolean | null | undefined): void; static logGeneric(polymorphicPayload: Log | string | number | bigint | boolean | null | undefined): void; static highlightText(targetString: string): string; static generateFormattedErrorFromThrownErrorLog(thrownErrorLog: ThrownErrorLog, stringifiedInnerError?: string): string; static formatErrorLog(errorLog: ErrorLog): Array; static formatGenericLog({ genericLog, badgeContentAndFormatting, mainColor, titleColor }: Readonly<{ genericLog: Log; badgeContentAndFormatting: Readonly<{ defaultText: string; foregroundColor: ConsoleApplicationLogger.RedGreenBlue; backgroundColor: ConsoleApplicationLogger.RedGreenBlue; }>; mainColor: ConsoleApplicationLogger.RedGreenBlue; titleColor: ConsoleApplicationLogger.RedGreenBlue; }>): Array; static generateBadgeIfMust(badge: Readonly<{ customText: string; }> | false | undefined, { defaultText, foregroundColor, backgroundColor }: Readonly<{ defaultText: string; foregroundColor: ConsoleApplicationLogger.RedGreenBlue; backgroundColor: ConsoleApplicationLogger.RedGreenBlue; }>): [string | null, ConsoleApplicationLogger.Formatting]; static generateConsoleMethodParametersForFormattedOutput(formattedOutputData: ConsoleApplicationLogger.FormattedOutputData): Array; static generateRedGreenBlueForegroundColorControlSequence(colorDefinition: ConsoleApplicationLogger.RedGreenBlue): string; static generateRedGreenBlueBackgroundColorControlSequence(colorDefinition: ConsoleApplicationLogger.RedGreenBlue): string; } declare namespace ConsoleApplicationLogger { type FormattedOutputData = Array<[string | null, Formatting]>; type Formatting = { foregroundColor?: FourBitColours | RedGreenBlue; bold?: boolean; bright?: boolean; dim?: boolean; underscore?: boolean; blink?: boolean; reverse?: boolean; hidden?: boolean; underlined?: boolean; backgroundColor?: FourBitColours | RedGreenBlue; }; enum FourBitColours { black = "BLACK", white = "WHITE", red = "RED", green = "GREEN", blue = "BLUE", yellow = "YELLOW", magenta = "MAGENTA", cyan = "CYAN" } type RedGreenBlue = { red: number; green: number; blue: number; }; function isRegGreenBlue(rawValue: unknown): rawValue is RedGreenBlue; } export default ConsoleApplicationLogger;