import * as _kb_labs_shared_command_kit from '@kb-labs/shared-command-kit';
import { RestInput } from '@kb-labs/sdk';

/**
 * POST /regenerate-commit handler
 *
 * Re-analyzes files from a single commit using LLM and replaces it in the plan.
 * Uses Phase 2 approach (with diff context) for best results.
 */
declare const _default: _kb_labs_shared_command_kit.Handler<unknown, RestInput<unknown, {
    scope: string;
    commitId: string;
    instruction?: string | undefined;
}, unknown>, {
    scope: string;
    success: boolean;
    commitId: string;
    commit?: {
        message: string;
        type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
        id: string;
        files: string[];
        releaseHint: "minor" | "none" | "patch" | "major";
        breaking: boolean;
        scope?: string | undefined;
        body?: string | undefined;
        reasoning?: {
            newBehavior: boolean;
            fixesBug: boolean;
            internalOnly: boolean;
            explanation: string;
            confidence: number;
        } | undefined;
    } | undefined;
}>;

export { _default as default };
