import { ScriptAst, Ast, IncludeAst } from "../ast/Ast"; import { Filesystem } from "../api/filesystem"; export default class SqrlImporter { filesystem: Filesystem; private customFunctions; constructor(filesystem: Filesystem, customFunctions?: Set); private readAst; getReferencedFileAst(ast: Ast, filename: string | null, from: string | null): { path: string; scriptAst: ScriptAst; }; getIncludeFiles(ast: IncludeAst): { ast: ScriptAst; filename: string; where: Ast; }[]; }