declare namespace org {
    namespace spongepowered {
        namespace api {
            namespace util {
                namespace weighted {
                    // @ts-ignore
                    abstract class TableEntry extends java.lang.Object {
                        /**
                         * Creates a new {@link TableEntry} with the desired {@code weight}.
                         */
                        // @ts-ignore
                        constructor(weight: number)
                        /**
                         * Gets the weight of this entry.
                         */
                        // @ts-ignore
                        public getWeight(): number;
                    }
                }
            }
        }
    }
}
