declare namespace java {
    namespace awt {
        namespace event {
            // @ts-ignore
            interface FocusListener {
                /**
                 * Invoked when a component gains the keyboard focus.
                 */
                // @ts-ignore
                 focusGained(e: java.awt.event.FocusEvent): void;
                /**
                 * Invoked when a component loses the keyboard focus.
                 */
                // @ts-ignore
                 focusLost(e: java.awt.event.FocusEvent): void;
            }
        }
    }
}
