declare namespace org {
    namespace spongepowered {
        namespace api {
            namespace text {
                // @ts-ignore
                interface TextElement {
                    /**
                     * Applies this element to the end of the specified builder.
                     */
                    // @ts-ignore
                     applyTo(builder: org.spongepowered.api.text.Text.Builder): void;
                }
            }
        }
    }
}
