/** * Cost Calculation Utilities * * This module provides business-oriented cost calculation functions for * security implementations across the CIA triad. * * ## Business Perspective * * These utilities help organizations understand the financial implications * of different security level choices. They provide consistent cost models * that can be used for budgeting and ROI analysis. 💰 * * @packageDocumentation */ import { SecurityLevel } from "../types/cia"; export type OrganizationSize = "small" | "medium" | "large" | "enterprise"; export type Industry = "general" | "financial" | "healthcare" | "government" | "retail" | "technology" | "manufacturing"; export interface CostResult { capex: number; opex: number; } /** * Calculate implementation cost based on security level */ export declare function calculateImplementationCost(securityLevel: SecurityLevel | string, // Allow string for more flexible inputs orgSize?: OrganizationSize, industry?: Industry): CostResult; /** * Calculate total security costs across all CIA components */ export declare function calculateTotalSecurityCost(availabilityLevel: SecurityLevel, integrityLevel: SecurityLevel, confidentialityLevel: SecurityLevel, orgSize?: OrganizationSize, industry?: Industry): { availabilityCost: CostResult; integrityCost: CostResult; confidentialityCost: CostResult; totalCapex: number; totalOpex: number; totalCost: number; }; /** * Calculate security ROI */ export declare function calculateSecurityROI(securityCost: number, riskReductionPercent: number, potentialLoss: number, timeframeYears?: number): { roi: number; roiPercentage: string; paybackPeriodMonths: number; costAvoidance: number; }; /** * Get recommended budget allocation based on security levels */ export declare function getRecommendedBudgetAllocation(totalBudget: number, availabilityLevel: SecurityLevel, integrityLevel: SecurityLevel, confidentialityLevel: SecurityLevel): { availability: number; integrity: number; confidentiality: number; }; //# sourceMappingURL=costCalculationUtils.d.ts.map