import { Vector3 } from './utils';
export class Pickup {
    constructor(handle) {
        this.handle = handle;
    }
    get Position() {
        const coords = GetPickupCoords(this.handle);
        return new Vector3(coords[0], coords[1], coords[2]);
    }
    get IsCollected() {
        return HasPickupBeenCollected(this.handle);
    }
    delete() {
        RemovePickup(this.handle);
    }
    exists() {
        return DoesPickupExist(this.handle);
    }
}
