import * as Immutable from 'immutable'; import { Sum, Unit } from 'ts-bccc'; import { ErrVal, ExprRt, MemRt, SourceRange, Val } from '../main'; import { Coroutine } from "../fast_coroutine"; export interface File { content: string; } export declare type FileSystem = Immutable.Map; export declare const get_fs: ExprRt; export declare const set_fs: (fs: Immutable.Map) => Coroutine; export declare const attr_map: (attr0: Immutable.List>>) => Coroutine>; export declare let set_file: (r: SourceRange, path: Coroutine>, content: Coroutine>) => Coroutine>; export declare let set_file_from_block: (r: SourceRange, path: Coroutine>, attr: Immutable.List>>) => Coroutine>; export declare let get_file: (r: SourceRange, path: Coroutine>) => Coroutine>; export declare let exists: (path: Coroutine>) => Coroutine>; export declare let copy_file: (r: SourceRange, path_from: Coroutine>, path_to: Coroutine>) => Coroutine>; export declare let move_file: (r: SourceRange, path_from: Coroutine>, path_to: Coroutine>) => Coroutine>; export declare const init_fs: (files: Immutable.List>>) => Coroutine>; export declare let delete_file: (r: SourceRange, path: Coroutine>) => Coroutine>; export declare const fs_and_prg: (fs: Coroutine>, prg: Coroutine>) => Coroutine>;