import { EditorView } from '@codemirror/view'; /** * Applies the controlled folding value to the editor, so that exactly the given * positions are folded. Positions present in `prevFoldings` but absent from * `foldings` are unfolded; positions in `foldings` that are not folded yet are folded. * * Uses plain fold effects instead of CodeMirror's `foldCode` command, which * would move the cursor and announce the change to screen readers. User-initiated * folds (gutter or keyboard) already announce themselves. * @param foldings - Target set of folding positions. * @param editorView - The editor view. * @param prevFoldings - Previously active positions, used to compute which to unfold. * @internal */ export declare function runFoldings(foldings: number[], editorView: EditorView, prevFoldings?: number[]): void; //# sourceMappingURL=run-foldings.d.ts.map