declare namespace org {
    namespace spongepowered {
        namespace api {
            namespace util {
                namespace weighted {
                    namespace VariableAmount {
                        // @ts-ignore
                         class BaseAndVariance implements org.spongepowered.api.util.weighted.VariableAmount {
                            // @ts-ignore
                            public getAmount(rand: any): number;
                            // @ts-ignore
                            public toString(): string;
                            // @ts-ignore
                            public equals(obj: any): boolean;
                            // @ts-ignore
                            public hashCode(): number;
                            // @ts-ignore
                            public toContainer(): org.spongepowered.api.data.DataContainer;
                            // @ts-ignore
                            public getContentVersion(): number;
                        }
                    }
                }
            }
        }
    }
}
