import type { TypeScriptConfig } from './types'; /** * Sync updates from CodeMirror to the TypeScript * virtual environment. Note that this updates a file - it isn't * responsible (yet) for deleting or renaming files if they * do get deleted or renamed. */ export declare function tsSync(config: TypeScriptConfig): import("@codemirror/state").Extension; /** * In TypeScript, updates are not like PUTs, you * need to create a file before updating it. * * This method lets us treat the two as the same. */ export declare function createOrUpdateFile({ env, path }: TypeScriptConfig, code: string): void;