import { MessageDescriptor } from 'react-intl'; /** * Impact Level Scale Configuration * * Different contexts (Risk vs Process vs Asset) use different terminology: * - Risk: Negligible → Critical * - Process: Insignificant → Vital * - Asset: Insignificant → Business Critical */ /** Impact level 0-5 as per schema */ type ImpactLevel = 0 | 1 | 2 | 3 | 4 | 5; interface ImpactLevelConfig { /** i18n message descriptor for the label */ message: MessageDescriptor; /** Fallback label (used when no IntlProvider) */ fallbackLabel: string; color: string; bgColor: string; barColor: string; } type ImpactScaleConfig = Record; /** * Risk Scale (default) - Used for Risk assessments * Not rated → Negligible → Low → Medium → High → Critical */ declare const riskScale: ImpactScaleConfig; /** * Process Scale - Used for Business Process classifications * Not rated → Insignificant → Low → Relevant → Important → Vital */ declare const processScale: ImpactScaleConfig; /** * Asset Scale - Used for Asset criticality * Not classified → Insignificant → Low → Medium → High → Business Critical */ declare const assetScale: ImpactScaleConfig; /** Available impact levels for iteration */ declare const impactLevels: ImpactLevel[]; /** Preset scale types */ type ImpactScalePreset = "risk" | "process" | "asset"; /** Get scale by preset name */ declare function getScale(preset: ImpactScalePreset): ImpactScaleConfig; export { type ImpactLevel, type ImpactLevelConfig, type ImpactScaleConfig, type ImpactScalePreset, assetScale, getScale, impactLevels, processScale, riskScale };