import type { UnifiedConfig } from '../types';
import { type Plugin, type Severity as SeverityLevel } from './constants';
import type { RedteamPluginObject, SavedRedteamConfig } from './types';
export declare function getRiskCategorySeverityMap(plugins?: RedteamPluginObject[]): Record<Plugin, SeverityLevel>;
export type RedteamSeverityBadgeVariant = 'red' | 'orange' | 'yellow' | 'green' | 'gray';
/**
 * Badge colors for red-team severity: Critical→red, High→orange, Medium→yellow, Low→green.
 * Accepts enum values (`critical`, …), display names (`Critical`, …), or API strings like `high`.
 */
export declare function getSeverityBadgeVariant(severity: string | null | undefined): RedteamSeverityBadgeVariant;
export declare function getUnifiedConfig(config: SavedRedteamConfig, applicationPath?: string): UnifiedConfig & {
    redteam: NonNullable<UnifiedConfig['redteam']>;
};
//# sourceMappingURL=sharedFrontend.d.ts.map