export type CommunityDesensitizationRuleId = "sensitive-email" | "sensitive-secret" | "sensitive-path" | "sensitive-phone";
export interface CommunityDesensitizationHit {
    reason: string;
    ruleId: CommunityDesensitizationRuleId;
}
export interface CommunityDesensitizationRedTeamCase {
    id: string;
    content: string;
    expectedRuleId: CommunityDesensitizationRuleId;
}
export interface CommunityDesensitizationRedTeamReport {
    suite: "desensitization";
    generatedAt: string;
    cases: number;
    passed: boolean;
    failures: number;
    breakdown: Record<CommunityDesensitizationRuleId, {
        cases: number;
        failures: number;
    }>;
    failureDetails: Array<{
        id: string;
        expectedRuleId: CommunityDesensitizationRuleId;
        actualRuleId: CommunityDesensitizationRuleId | null;
    }>;
}
export declare function detectCommunityPublishSensitiveContent(content: string): CommunityDesensitizationHit | null;
export declare function buildCommunityDesensitizationRedTeamCases(): CommunityDesensitizationRedTeamCase[];
export declare function runCommunityDesensitizationRedTeam(cases?: CommunityDesensitizationRedTeamCase[]): CommunityDesensitizationRedTeamReport;
