import { Book } from "../book"; import { Stmt } from "../stmt"; import { Env } from "../env"; import { Ctx } from "../ctx"; import { StmtOutput } from "../stmt-output"; interface ModuleEntry { stmt: Stmt; output?: StmtOutput; } export declare class Module { book: Book; path: string; entries: Array; index: number; env: Env; ctx: Ctx; constructor(opts: { book: Book; path: string; stmts: Array; }); get stmts(): Array; append(text: string): this; end_p(): boolean; step(): Promise; undo(index: number): void; run(): Promise>; output(output: StmtOutput): void; get all_output(): string; } export {};