import Cancellable from '../../../../org/bukkit/event/Cancellable.js'; import HandlerList from '../../../../org/bukkit/event/HandlerList.js'; import World from '../../../../org/bukkit/World.js'; import WorldEvent from './WorldEvent.js'; export default interface WorldUnloadEvent extends WorldEvent, Cancellable { getEventName(): string; getHandlers(): HandlerList; getWorld(): World; isAsynchronous(): boolean; isCancelled(): boolean; setCancelled(cancel: boolean): void; } export default class WorldUnloadEvent { static get $javaClass(): any; constructor(world: World); static getHandlerList(): HandlerList; }