declare namespace org {
    namespace spongepowered {
        namespace api {
            namespace event {
                namespace entity {
                    namespace living {
                        // @ts-ignore
                        interface TargetAgentEvent extends org.spongepowered.api.event.entity.living.TargetLivingEvent {
                            // @ts-ignore
                             getTargetEntity(): org.spongepowered.api.entity.living.Agent;
                        }
                    }
                }
            }
        }
    }
}
