/**
 * Hybrid brand-voice fixer — deterministic rule fixes first, optional AI rewrite
 * for remaining alignment issues.
 */
import { type BrandAlignmentIssue, type BrandAlignmentScoreResult, type BrandVoiceStructuredProfile } from './brand-voice-structured.js';
export interface DeterministicFixResult {
    text: string;
    fixes: string[];
}
/** Apply safe, deterministic fixes from structured rules (no LLM). */
export declare function applyDeterministicBrandFixes(content: string, structured: BrandVoiceStructuredProfile, channelId?: string): DeterministicFixResult;
export declare function buildBrandVoiceFixPrompt(content: string, issues: BrandAlignmentIssue[], structured: BrandVoiceStructuredProfile): {
    system: string;
    prompt: string;
};
export interface BrandVoiceFixOutcome {
    text: string;
    deterministicFixes: string[];
    beforeScore: BrandAlignmentScoreResult;
    afterScore: BrandAlignmentScoreResult;
    usedAi: boolean;
}
export declare function needsAiBrandFix(score: BrandAlignmentScoreResult): boolean;
/** Score before/after deterministic fixes; caller runs AI when `needsAiBrandFix`. */
export declare function runDeterministicBrandFix(content: string, structured: BrandVoiceStructuredProfile, channel?: string): BrandVoiceFixOutcome;
//# sourceMappingURL=brand-voice-fix.d.ts.map