/**
 * Commit Generator
 *
 * Generates conventional commit messages for autofix PRs.
 *
 * @module autofix/commit-generator
 */
import type { Severity } from "../certification/types.js";
import type { FixResult } from "../certification/autofix.js";
import type { AutofixCommit } from "./types.js";
/**
 * Generate a commit message for a batch of fixes
 */
export declare function generateCommitMessage(fixes: FixResult[], severity?: Severity, options?: {
    includeEmoji?: boolean;
    includeSeverity?: boolean;
    maxLength?: number;
}): string;
/**
 * Generate extended commit body with details
 */
export declare function generateCommitBody(fixes: FixResult[], severity?: Severity): string;
/**
 * Create a commit with the staged changes
 */
export declare function createCommit(cwd: string, message: string, body?: string, options?: {
    coAuthors?: string[];
    signOff?: boolean;
}): Promise<AutofixCommit | {
    error: string;
}>;
/**
 * Generate PR title based on fixes
 */
export declare function generatePRTitle(fixes: FixResult[], severity?: Severity, template?: string): string;
/**
 * Generate PR body/description
 */
export declare function generatePRBody(fixes: FixResult[], severity?: Severity, options?: {
    certificationId?: string;
    includeBeforeAfter?: boolean;
}): string;
/**
 * Categorize fixes by severity
 */
export declare function groupFixesBySeverity(fixes: FixResult[], findingSeverities: Map<string, Severity>): Map<Severity, FixResult[]>;
/**
 * Categorize fixes by file
 */
export declare function groupFixesByFile(fixes: FixResult[]): Map<string, FixResult[]>;
/**
 * Categorize fixes by pattern
 */
export declare function groupFixesByPattern(fixes: FixResult[]): Map<string, FixResult[]>;
//# sourceMappingURL=commit-generator.d.ts.map