import { SecurityLevel } from "../types/cia"; import { BUSINESS_IMPACT_CATEGORIES, RISK_LEVELS } from "./riskConstants"; import { CIADetails } from "../types/cia-services"; import { UI_DISPLAY_LIMITS } from "./uiConstants"; export { BUSINESS_IMPACT_CATEGORIES, RISK_LEVELS, UI_DISPLAY_LIMITS }; /** Type for security level constant keys */ export type SecurityLevelKey = "NONE" | "LOW" | "MODERATE" | "HIGH" | "VERY_HIGH"; /** Generic map type indexed by security level keys */ export type SecurityLevelMap = Record; /** * Maps CIA option values to constants with consistent naming (NONE, LOW, etc.) * Modified version to avoid circular dependencies */ export declare const mapOptionsToConstants: (options: Record, key: T, transform?: (value: CIADetails[T], level: string) => R) => { NONE: undefined; LOW: undefined; MODERATE: undefined; HIGH: undefined; VERY_HIGH: undefined; } | { NONE: R | CIADetails[T]; LOW: R | CIADetails[T]; MODERATE: R | CIADetails[T]; HIGH: R | CIADetails[T]; VERY_HIGH: R | CIADetails[T]; }; /** Maps constant keys to SecurityLevel display values */ export declare const SECURITY_LEVELS: Record; /** CIA component display labels */ export declare const CIA_LABELS: { AVAILABILITY: string; INTEGRITY: string; CONFIDENTIALITY: string; }; /** CIA component tooltip descriptions */ export declare const CIA_DESCRIPTIONS: { CONFIDENTIALITY: string; INTEGRITY: string; AVAILABILITY: string; }; /** Compliance status display text */ export declare const COMPLIANCE_STATUS: { NON_COMPLIANT: string; BASIC_COMPLIANCE: string; STANDARD_COMPLIANCE: string; FULL_COMPLIANCE: string; }; /** Security recommendations for each level */ export declare const SECURITY_RECOMMENDATIONS: { NONE: string; LOW: string; MODERATE: string; HIGH: string; VERY_HIGH: string; BASIC: string; }; /** Framework descriptions */ export declare const FRAMEWORK_DESCRIPTIONS: { SOC2: string; ISO27001: string; PCI_DSS: string; HIPAA: string; NIST: string; }; /** Security level descriptions */ export declare const SECURITY_DESCRIPTIONS: { NONE: string; LOW: string; MODERATE: string; HIGH: string; VERY_HIGH: string; }; /** Value creation points by security level */ export declare const VALUE_CREATION_POINTS: Partial>; /** ROI estimates by security level */ export declare const ROI_ESTIMATES: { NONE: string; LOW: string; MODERATE: string; HIGH: string; VERY_HIGH: string; NONE_OBJ: { returnRate: string; description: string; }; LOW_OBJ: { returnRate: string; description: string; }; MODERATE_OBJ: { returnRate: string; description: string; }; HIGH_OBJ: { returnRate: string; description: string; }; VERY_HIGH_OBJ: { returnRate: string; description: string; }; }; /** Cost analysis messages */ export declare const COST_ANALYSIS: { SMALL_SOLUTION: string; LARGE_SOLUTION: string; }; /** Compliance framework display names */ export declare const COMPLIANCE_FRAMEWORKS: { SOC2: string; ISO27001: string; PCI_DSS: string; HIPAA: string; NIST: string; }; /** Centralized UI text constants */ export declare const UI_TEXT: { LABELS: { BUSINESS_IMPACT: string; RECOMMENDATION: string; ESTIMATED_COST: string; CAPEX: string; OPEX: string; COST_ANALYSIS: string; BUSINESS_VALUE: string; ESTIMATED_ROI: string; SECURITY_PROFILE: string; CURRENT_PROFILE: string; AVAILABILITY: string; INTEGRITY: string; CONFIDENTIALITY: string; }; WIDGET_TITLES: { SECURITY_LEVEL: string; SECURITY_SUMMARY: string; RADAR_CHART: string; COST_ESTIMATION: string; COMPLIANCE_STATUS: string; VALUE_CREATION: string; IMPACT_ANALYSIS: string; SECURITY_PROFILE: string; SECURITY_RESOURCES: string; }; BUDGET: { IT_BUDGET_CAPEX: string; IT_BUDGET_OPEX: string; }; SECURITY_MEASURES: { AVAILABILITY: string; INTEGRITY: string; CONFIDENTIALITY: string; }; CHART: { LABEL_SECURITY_LEVELS: string; TITLE_SECURITY_PROFILE: string; }; VALUE_CREATION: { NONE_TITLE: string; WITH_LEVEL: (level: string) => string; }; APP_TITLE: string; }; /** Test matchers for UI element validation */ export declare const TEST_MATCHERS: { COMPLIANCE_FRAMEWORKS_REGEX: RegExp; UPTIME_PATTERN: RegExp; DOWNTIME_PATTERN: RegExp; SECURITY_NONE_PATTERN: RegExp; SECURITY_LOW_PATTERN: RegExp; SECURITY_MODERATE_PATTERN: RegExp; SECURITY_HIGH_PATTERN: RegExp; SECURITY_VERY_HIGH_PATTERN: RegExp; }; /** Test data for widget and component testing */ export declare const TEST_DATA: { WIDGET: { TITLE: string; CONTENT: string; CUSTOM_CLASS: string; }; MOCK_DESCRIPTIONS: { AVAILABILITY: string; INTEGRITY: string; CONFIDENTIALITY: string; }; MOCK_OPTIONS: { BASE: { description: string; impact: string; technical: string; capex: number; opex: number; bg: string; text: string; }; LOW: { description: string; impact: string; technical: string; capex: number; opex: number; bg: string; text: string; }; }; }; /** Implementation cost estimates by security level */ export declare const IMPLEMENTATION_COSTS: { [key: string]: { developmentEffort: string; maintenance: string; expertise: string; }; }; /** * Widget icons for consistent UI representation */ export declare const WIDGET_ICONS: { SECURITY_LEVEL: string; SECURITY_SUMMARY: string; BUSINESS_IMPACT_ANALYSIS: string; COMPLIANCE_STATUS: string; SECURITY_RESOURCES: string; COST_ESTIMATION: string; VALUE_CREATION: string; TECHNICAL_DETAILS: string; SECURITY_VISUALIZATION: string; AVAILABILITY_IMPACT: string; INTEGRITY_IMPACT: string; CONFIDENTIALITY_IMPACT: string; }; /** * Widget titles for consistent naming */ export declare const WIDGET_TITLES: { SECURITY_LEVEL: string; SECURITY_SUMMARY: string; BUSINESS_IMPACT_ANALYSIS: string; COMPLIANCE_STATUS: string; SECURITY_RESOURCES: string; COST_ESTIMATION: string; VALUE_CREATION: string; TECHNICAL_DETAILS: string; SECURITY_VISUALIZATION: string; AVAILABILITY_IMPACT: string; INTEGRITY_IMPACT: string; CONFIDENTIALITY_IMPACT: string; }; /** * Colors for different security levels */ export declare const SECURITY_LEVEL_COLORS: { NONE: string; LOW: string; MODERATE: string; HIGH: string; VERY_HIGH: string; }; /** Default security level */ export declare const DEFAULT_SECURITY_LEVEL: SecurityLevel; /** * Widget sizes for layout */ export declare const WIDGET_SIZES: { SMALL: string; MEDIUM: string; LARGE: string; FULL: string; }; /** * Widget categories */ export declare const WIDGET_CATEGORIES: { SECURITY: string; IMPACT: string; COMPLIANCE: string; COST: string; TECHNICAL: string; RESOURCES: string; }; /** * Application routes */ export declare const ROUTES: { HOME: string; DASHBOARD: string; SETTINGS: string; REPORTS: string; }; /** * Local storage keys */ export declare const STORAGE_KEYS: { THEME: string; SECURITY_LEVELS: string; DASHBOARD_LAYOUT: string; USER_PREFERENCES: string; }; /** * Refresh intervals (in milliseconds) */ export declare const REFRESH_INTERVALS: { FAST: number; MEDIUM: number; SLOW: number; }; /** * Theme options */ export declare const THEMES: { LIGHT: string; DARK: string; SYSTEM: string; }; /** * Default transition duration in milliseconds */ export declare const DEFAULT_TRANSITION_DURATION = 300; /** * Chart colors */ export declare const CHART_COLORS: { AVAILABILITY: string; INTEGRITY: string; CONFIDENTIALITY: string; SECURITY_LEVEL_COLORS: { None: string; Low: string; Moderate: string; High: string; "Very High": string; }; }; /** * Maximum column count for grid layout */ export declare const GRID_MAX_COLUMNS = 12; //# sourceMappingURL=appConstants.d.ts.map