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}.
                         */
                        constructor(obj: any, weight: number)
                        /**
                         * Gets the entry contained in this entry.
                         */
                        // @ts-ignore
                        public get(): any;
                        // @ts-ignore
                        public equals(o: any): boolean;
                        // @ts-ignore
                        public hashCode(): number;
                        // @ts-ignore
                        public toString(): string;
                    }
                }
            }
        }
    }
}
