declare namespace java {
    namespace awt {
        namespace event {
            // @ts-ignore
            interface AWTEventListener {
                /**
                 * Invoked when an event is dispatched in the AWT.
                 */
                // @ts-ignore
                 eventDispatched(event: java.awt.AWTEvent): void;
            }
        }
    }
}
