import { EditorView } from '@codemirror/view';
import { LineMapping } from '../types';
/**
 * Sets up bidirectional fold sync between two editors.
 * Returns a cleanup function.
 */
export declare function setupFoldSync(beforeView: EditorView, afterView: EditorView, lineMap: LineMapping[]): () => void;
