/**
* Core constants for CIA Compliance Manager
*
* This module provides centralized constants for icons, labels, colors,
* and titles used throughout the application. These constants ensure
* consistency across all widgets and components.
*
* @module coreConstants
*
* @example
* ```typescript
* import { WIDGET_ICONS, CIA_LABELS, SECURITY_LEVELS } from './constants/coreConstants';
*
* // Using widget icons
* const icon = WIDGET_ICONS.COMPLIANCE_STATUS; // "⚖️"
*
* // Using CIA component labels
* const label = CIA_LABELS.AVAILABILITY; // "Availability"
*
* // Using security levels
* const level = SECURITY_LEVELS.HIGH; // "High"
* ```
*/
import { SecurityLevel } from "../types/cia";
/**
* Widget icon constants for consistent icon use across the application.
*
* Each widget has a unique emoji icon that visually represents its purpose
* in the dashboard. These icons improve user recognition and navigation.
*
* @example
* ```typescript
* // In widget header
*
* {WIDGET_ICONS.SECURITY_SUMMARY} Security Summary
*
*
* // In navigation menu
* const menuItems = [
* { icon: WIDGET_ICONS.COMPLIANCE_STATUS, label: 'Compliance' },
* { icon: WIDGET_ICONS.COST_ESTIMATION, label: 'Cost Analysis' }
* ];
* ```
*/
export declare const WIDGET_ICONS: {
SECURITY_LEVEL: string;
SECURITY_SUMMARY: string;
SECURITY_VISUALIZATION: string;
COMPLIANCE_STATUS: string;
VALUE_CREATION: string;
COST_ESTIMATION: string;
BUSINESS_IMPACT: string;
TECHNICAL_IMPLEMENTATION: string;
AVAILABILITY_IMPACT: string;
INTEGRITY_IMPACT: string;
CONFIDENTIALITY_IMPACT: string;
SECURITY_RESOURCES: string;
CIA_IMPACT_SUMMARY: string;
TECHNICAL_DETAILS: string;
};
/**
* CIA component icon constants.
*
* Icons representing the three pillars of the CIA triad: Confidentiality,
* Integrity, and Availability. Used in component-specific widgets and
* visualizations to provide visual consistency.
*
* @example
* ```typescript
* // Display CIA component with its icon
* const component = 'availability';
* const icon = CIA_COMPONENT_ICONS.AVAILABILITY; // "⏱️"
*
* return {icon} {CIA_LABELS.AVAILABILITY}
;
* // Renders: "⏱️ Availability"
* ```
*/
export declare const CIA_COMPONENT_ICONS: {
AVAILABILITY: string;
INTEGRITY: string;
CONFIDENTIALITY: string;
};
/**
* CIA component label constants for consistent terminology.
*
* Standard display labels for CIA triad components. Use these labels
* throughout the UI to ensure consistent terminology and improve
* user recognition.
*
* @example
* ```typescript
* // In select dropdown
* const options = [
* { value: 'availability', label: CIA_LABELS.AVAILABILITY },
* { value: 'integrity', label: CIA_LABELS.INTEGRITY },
* { value: 'confidentiality', label: CIA_LABELS.CONFIDENTIALITY }
* ];
* ```
*/
export declare const CIA_LABELS: {
AVAILABILITY: string;
INTEGRITY: string;
CONFIDENTIALITY: string;
};
/**
* Security level color scheme mapping.
*
* Color palette for representing security levels visually. Colors progress
* from red (None) through orange/yellow (Low/Moderate) to green/blue
* (High/Very High), providing intuitive visual feedback on security posture.
*
* @example
* ```typescript
* // Apply color based on security level
* const level = 'High';
* const color = SECURITY_LEVEL_COLORS.HIGH; // "#2ecc71" (green)
*
* // In styled component
*
* {level}
*
* ```
*/
export declare const SECURITY_LEVEL_COLORS: {
NONE: string;
LOW: string;
MODERATE: string;
HIGH: string;
VERY_HIGH: string;
};
/**
* Security level enumeration constants.
*
* Maps friendly constant names to SecurityLevel type values. Use these
* constants when working with security levels to avoid string literals
* and improve type safety.
*
* @example
* ```typescript
* // Compare security level
* if (currentLevel === SECURITY_LEVELS.HIGH) {
* console.log('High security configured');
* }
*
* // Set default level
* const [level, setLevel] = useState(SECURITY_LEVELS.MODERATE);
* ```
*/
export declare const SECURITY_LEVELS: Record;
/**
* Widget title constants for consistent naming.
*
* Standard titles for all dashboard widgets. Using these constants ensures
* consistent naming across the application and simplifies localization
* efforts if needed in the future.
*
* @example
* ```typescript
* // In widget header
*
*
* // In navigation
* const widgets = [
* { id: 'compliance', title: WIDGET_TITLES.COMPLIANCE_STATUS },
* { id: 'cost', title: WIDGET_TITLES.COST_ESTIMATION }
* ];
* ```
*/
export declare const WIDGET_TITLES: {
SECURITY_LEVEL: string;
SECURITY_SUMMARY: string;
SECURITY_VISUALIZATION: string;
COMPLIANCE_STATUS: string;
VALUE_CREATION: string;
COST_ESTIMATION: string;
BUSINESS_IMPACT: string;
TECHNICAL_IMPLEMENTATION: string;
SECURITY_PROFILE: string;
SECURITY_RESOURCES: string;
AVAILABILITY_IMPACT: string;
INTEGRITY_IMPACT: string;
CONFIDENTIALITY_IMPACT: string;
CIA_IMPACT_SUMMARY: string;
TECHNICAL_DETAILS: string;
};
/**
* Implementation cost estimates by security level.
*
* Provides rough estimates for development effort, ongoing maintenance,
* and required expertise for each security level. These estimates help
* stakeholders understand the resource requirements for implementing
* different security postures.
*
* @example
* ```typescript
* // Display implementation requirements
* const level = 'High';
* const costs = IMPLEMENTATION_COSTS[level];
*
* console.log(`Development: ${costs.developmentEffort}`); // "1-2 Months"
* console.log(`Maintenance: ${costs.maintenance}`); // "Daily monitoring"
* console.log(`Expertise: ${costs.expertise}`); // "Senior"
*
* // In cost estimation widget
*
*
Development Effort: {costs.developmentEffort}
*
Maintenance: {costs.maintenance}
*
Required Expertise: {costs.expertise}
*
* ```
*/
export declare const IMPLEMENTATION_COSTS: Record;
/** UI text constants for labels */
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;
};
BUDGET: {
IT_BUDGET_CAPEX: string;
IT_BUDGET_OPEX: string;
};
VALUE_CREATION: {
NONE_TITLE: string;
WITH_LEVEL: (level: string) => string;
};
WIDGET_TITLES: {
SECURITY_LEVEL: string;
SECURITY_SUMMARY: string;
SECURITY_VISUALIZATION: string;
COMPLIANCE_STATUS: string;
VALUE_CREATION: string;
COST_ESTIMATION: string;
BUSINESS_IMPACT: string;
TECHNICAL_IMPLEMENTATION: string;
SECURITY_PROFILE: string;
SECURITY_RESOURCES: string;
AVAILABILITY_IMPACT: string;
INTEGRITY_IMPACT: string;
CONFIDENTIALITY_IMPACT: string;
CIA_IMPACT_SUMMARY: string;
TECHNICAL_DETAILS: string;
};
};
/** Security level constant key type */
export type SecurityLevelKey = "NONE" | "LOW" | "MODERATE" | "HIGH" | "VERY_HIGH";
export type SecurityLevelMap = Record;
/** Compliance framework display names */
export declare const COMPLIANCE_FRAMEWORKS: {
SOC2: string;
ISO27001: string;
PCI_DSS: string;
HIPAA: string;
NIST: string;
};
/** Compliance status display text */
export declare const COMPLIANCE_STATUS: {
NON_COMPLIANT: string;
BASIC_COMPLIANCE: string;
STANDARD_COMPLIANCE: string;
FULL_COMPLIANCE: string;
};
/** Security level descriptions */
export declare const SECURITY_DESCRIPTIONS: {
NONE: string;
LOW: string;
MODERATE: string;
HIGH: string;
VERY_HIGH: string;
};
/**
* CIA component information
*/
export declare const CIA_COMPONENT_INFO: {
CONFIDENTIALITY: {
NAME: string;
DESCRIPTION: string;
ICON: string;
COLOR: string;
};
INTEGRITY: {
NAME: string;
DESCRIPTION: string;
ICON: string;
COLOR: string;
};
AVAILABILITY: {
NAME: string;
DESCRIPTION: string;
ICON: string;
COLOR: string;
};
};
/**
* CIA component colors
*/
export declare const CIA_COMPONENT_COLORS: {
CONFIDENTIALITY: {
PRIMARY: string;
LIGHT: string;
DARK: string;
};
INTEGRITY: {
PRIMARY: string;
LIGHT: string;
DARK: string;
};
AVAILABILITY: {
PRIMARY: string;
LIGHT: string;
DARK: string;
};
};
/**
* Component level mapping
*/
export declare const COMPONENT_LEVEL_MAPPING: {
NONE: number;
LOW: number;
MODERATE: number;
HIGH: number;
VERY_HIGH: number;
};
/**
* Security level labels for display
*/
export declare const SECURITY_LEVEL_LABELS: {
NONE: string;
LOW: string;
MODERATE: string;
HIGH: string;
VERY_HIGH: string;
};
/**
* Application metadata
*/
export declare const APP_INFO: {
NAME: string;
VERSION: string;
DESCRIPTION: string;
AUTHOR: string;
};
/**
* Default language for the application
*/
export declare const DEFAULT_LANGUAGE = "en-US";
/**
* Application features configuration
*/
export declare const FEATURES: {
DARK_MODE: boolean;
MULTI_LANGUAGE: boolean;
ANALYTICS: boolean;
EXPORT_TO_PDF: boolean;
EXPORT_TO_CSV: boolean;
PRINT_REPORTS: boolean;
LOCAL_STORAGE: boolean;
};
/**
* Default settings for the application
*/
export declare const DEFAULT_SETTINGS: {
THEME: string;
LANGUAGE: string;
SHOW_DETAILED_DESCRIPTIONS: boolean;
SHOW_TECHNICAL_DETAILS: boolean;
SHOW_BUSINESS_IMPACT: boolean;
SAVE_STATE_LOCALLY: boolean;
};
/**
* Local storage keys
*/
export declare const STORAGE_KEYS: {
SETTINGS: string;
SELECTED_LEVELS: string;
LAST_VISIT: string;
};
/**
* Routes configuration
*/
export declare const ROUTES: {
HOME: string;
DASHBOARD: string;
SETTINGS: string;
ASSESSMENT: string;
COMPLIANCE: string;
TECHNICAL: string;
BUSINESS: string;
};
/**
* Application events
*/
export declare const EVENTS: {
LEVEL_CHANGED: string;
SETTINGS_CHANGED: string;
DATA_LOADED: string;
ERROR_OCCURRED: string;
};
/**
* API configuration for external services
*/
export declare const API_CONFIG: {
BASE_URL: string;
TIMEOUT: number;
RETRY_ATTEMPTS: number;
CACHE_DURATION: number;
};
/**
* Component names used for debugging and logging
*/
export declare const COMPONENT_NAMES: {
SECURITY_LEVEL_WIDGET: string;
BUSINESS_IMPACT_WIDGET: string;
COMPLIANCE_STATUS_WIDGET: string;
COST_ESTIMATION_WIDGET: string;
VALUE_CREATION_WIDGET: string;
TECHNICAL_DETAILS_WIDGET: string;
SECURITY_SUMMARY_WIDGET: string;
};
/**
* Logging levels
*/
export declare const LOG_LEVELS: {
DEBUG: string;
INFO: string;
WARN: string;
ERROR: string;
};
/**
* Default data refresh interval in milliseconds
*/
export declare const DEFAULT_REFRESH_INTERVAL = 60000;
//# sourceMappingURL=coreConstants.d.ts.map