import { Closure, Func, Ins, Val } from "./types"; /** Declare a closure from instructions and other info, calculating its * captures ahead-of-time. */ export declare function makeClosure(name: string, outerParams: string[], cloParams: string[], cins: Ins[]): Closure; /** Create a function representing a parent closure, and its sub-closures with * all values needing captured at this point having been replaced. */ export declare function makeEnclosure({ name, length, captures, derefs }: Closure, cins: Ins[], derefed: Val[]): Func;