declare namespace org {
    namespace spongepowered {
        namespace api {
            namespace text {
                // @ts-ignore
                 class SelectorText extends org.spongepowered.api.text.Text {
                    /**
                     * Returns the selector used in this {@link Text}.
                     */
                    // @ts-ignore
                    public getSelector(): org.spongepowered.api.text.selector.Selector;
                    // @ts-ignore
                    public toBuilder(): org.spongepowered.api.text.SelectorText.Builder;
                    // @ts-ignore
                    public equals(o: any): boolean;
                    // @ts-ignore
                    public hashCode(): number;
                }
            }
        }
    }
}
