declare namespace org {
    namespace bukkit {
        namespace util {
            namespace io {
                // @ts-ignore
                 class BukkitObjectOutputStream {
                    /**
                     * Constructor provided to mirror super functionality.
                     */
                    constructor()
                    /**
                     * Object output stream decoration constructor.
                     */
                    constructor(out: any)
                    protected replaceObject(obj: any): any;
                }
            }
        }
    }
}
