declare namespace org {
    namespace spongepowered {
        namespace api {
            namespace entity {
                namespace ai {
                    namespace task {
                        namespace builtin {
                            namespace SwimmingAITask {
                                // @ts-ignore
                                interface Builder extends org.spongepowered.api.entity.ai.task.AITaskBuilder {
                                    // @ts-ignore
                                     swimChance(chance: number): org.spongepowered.api.entity.ai.task.builtin.SwimmingAITask.Builder;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
