declare namespace org {
    namespace spongepowered {
        namespace api {
            namespace util {
                namespace weighted {
                    // @ts-ignore
                     class NestedTableEntry extends org.spongepowered.api.util.weighted.TableEntry {
                        /**
                         * Creates a new {@link NestedTableEntry} with the provided
                         * {@code weight} and {@link RandomObjectTable table}.
                         */
                        // @ts-ignore
                        constructor(weight: number, table: org.spongepowered.api.util.weighted.RandomObjectTable)
                        /**
                         * Retrieves entries from the nested table.
                         */
                        // @ts-ignore
                        public get(rand: java.util.Random): java.util.List;
                        // @ts-ignore
                        public equals(o: java.lang.Object): boolean;
                        // @ts-ignore
                        public hashCode(): number;
                        // @ts-ignore
                        public toString(): string;
                    }
                }
            }
        }
    }
}
