declare namespace org {
    namespace spongepowered {
        namespace api {
            namespace util {
                namespace weighted {
                    // @ts-ignore
                     class WeightedObject extends org.spongepowered.api.util.weighted.TableEntry {
                        /**
                         * Creates a new {@link WeightedObject} of the provided
                         * {@code object} and {@code weight}.
                         */
                        // @ts-ignore
                        constructor(obj: java.lang.Object, weight: number)
                        /**
                         * Gets the entry contained in this entry.
                         */
                        // @ts-ignore
                        public get(): java.lang.Object;
                        // @ts-ignore
                        public equals(o: java.lang.Object): boolean;
                        // @ts-ignore
                        public hashCode(): number;
                        // @ts-ignore
                        public toString(): string;
                    }
                }
            }
        }
    }
}
