declare namespace java {
    namespace awt {
        namespace event {
            // @ts-ignore
            interface WindowStateListener {
                /**
                 * Invoked when window state is changed.
                 */
                // @ts-ignore
                 windowStateChanged(e: java.awt.event.WindowEvent): void;
            }
        }
    }
}
