/** * Progress Utilities * * Helper functions for progress-related calculations */ /** * Validates and clamps a progress value to ensure it's within valid range * @param value - Raw progress value * @returns Clamped progress value (0-100) */ export declare function normalizeProgress(value: number): number; /** * Formats a progress value as a percentage string * @param value - Progress value (0-100) * @param decimals - Number of decimal places (default: 0) * @returns Formatted percentage string */ export declare function formatPercentage(value: number, decimals?: number): string; /** * Calculates the percentage completed of a multi-step process * @param currentStep - Current step (1-indexed) * @param totalSteps - Total number of steps * @returns Percentage (0-100) */ export declare function calculateStepProgress(currentStep: number, totalSteps: number): number; /** * Checks if progress is complete * @param value - Progress value (0-100) * @returns True if progress is 100% */ export declare function isComplete(value: number): boolean; /** * Checks if progress has started * @param value - Progress value (0-100) * @returns True if progress > 0% */ export declare function hasStarted(value: number): boolean;