declare namespace org {
    namespace spongepowered {
        namespace api {
            namespace command {
                namespace source {
                    // @ts-ignore
                    interface RemoteSource extends org.spongepowered.api.command.CommandSource {
                        /**
                         * Gets connection information for this source.
                         */
                        // @ts-ignore
                         getConnection(): org.spongepowered.api.network.RemoteConnection;
                    }
                }
            }
        }
    }
}
