import type { Extension } from "@codemirror/state";
/** 创建 AI 功能所需的 CodeMirror 扩展 */
export declare function createAIExtension(): Extension[];
export { aiStateField, isAILocked, IDLE_STATE, setAIState, allocGenId, type AIState, } from "./codemirror/extension";
export { aiDiffDecorations, enterDiffPhase, cancelDiffPhase, } from "./codemirror/diff-ui";
export { runAIAction, getAITargetRange, type AIRequestFn } from "./runAction";
export { buildHunks, diffLines, diffChars, hasPendingHunks, type DiffHunk, type HunkStatus, type DiffChunk, } from "./diff";
//# sourceMappingURL=index.d.ts.map