import { ChangeSet } from "@codemirror/state";
export declare function wrapInFunction(script: string): string;
export declare function bufferChangeSets(fn: (changeset: ChangeSet) => void): (changes: ChangeSet) => Promise<void>;
