declare namespace java {
    namespace awt {
        namespace event {
            // @ts-ignore
            interface TextListener {
                /**
                 * Invoked when the value of the text has changed.
                 * The code written for this method performs the operations
                 * that need to occur when text changes.
                 */
                // @ts-ignore
                 textValueChanged(e: java.awt.event.TextEvent): void;
            }
        }
    }
}
