declare namespace org {
    namespace spongepowered {
        namespace api {
            namespace world {
                namespace gen {
                    namespace populator {
                        namespace Fossil {
                            // @ts-ignore
                            interface Builder extends org.spongepowered.api.util.ResettableBuilder {
                                /**
                                 * Sets the probability of a fossil spawning.
                                 */
                                // @ts-ignore
                                 probability(p: number): org.spongepowered.api.world.gen.populator.Fossil.Builder;
                                /**
                                 * Builds a new instance of a {@link Fossil} populator with the settings
                                 * set within the builder.
                                 */
                                // @ts-ignore
                                 build(): org.spongepowered.api.world.gen.populator.Fossil;
                            }
                        }
                    }
                }
            }
        }
    }
}
