export declare function isErrorFailureReason(reason: unknown): boolean;
export declare function getStrategyIdFromTest(test: any): string;
export declare function getPluginIdFromResult(result: any): string | null;
/** Match UI category keys (e.g. contracts) to plugin ids from results (e.g. trusys:redteam:contracts). */
export declare function rowMatchesPluginFilter(row: any, filterPlugin: string): boolean;
export declare function mapRowToDrawerItem(r: any, resultDetails: {
    config?: {
        redteam?: {
            injectVar?: string;
        };
    };
}, bucket: 'flagged' | 'passed'): {
    prompt: string;
    output: string;
    gradingResult?: any;
    result: any;
};
/**
 * Same shape as frontend-built rows for charts (StrategyVulnerabilityTrendSection, etc.),
 * without prompt/response payload on the wire.
 */
export declare function wrapRowForMetricsPayload(r: any): {
    prompt: string;
    output: string;
    gradingResult?: any;
    result: any;
};
//# sourceMappingURL=redteam-report-shared.d.ts.map