import { Datapack } from "@throw-out-error/minecraft-datapack";
export declare type InstallMode = "symlink" | "copy" | "compile" | "move";
export default class World {
    static fromPath(path: string): World;
    path: string;
    constructor(path: string);
    getDatapacks(): Promise<Datapack[]>;
    install(pack: Datapack | string, { mode }?: {
        mode?: InstallMode;
    }): Promise<void>;
    uninstall(name: string): Promise<void>;
    /**@param {string} path absolute path of the datapack */
    uninstall(path: string): Promise<void>;
}
