declare namespace org {
    namespace spongepowered {
        namespace api {
            namespace event {
                namespace entity {
                    // @ts-ignore
                    interface TargetEntityEvent extends org.spongepowered.api.event.Event {
                        /**
                         * Gets the target {@link Entity}.
                         */
                        // @ts-ignore
                         getTargetEntity(): org.spongepowered.api.entity.Entity;
                    }
                }
            }
        }
    }
}
