import { Plugin } from "../plugin"; import { CrochetVM } from "../vm-interface"; export declare class Crochet extends CrochetVM { readonly root: HTMLElement; constructor(root: HTMLElement); get prelude(): string[]; load_native(filename: string): Promise<(_: Plugin) => void | Promise>; load(filename: string): Promise; read_file(filename: string): Promise; initialise(): Promise; register_package_from_directory(root: string, name: string): Promise; get_package(name: string): Promise; show_error(error: unknown): Promise; }