declare namespace java {
    namespace awt {
        namespace peer {
            // @ts-ignore
            interface SystemTrayPeer {
                /**
                 * Returns the size of the system tray icon.
                 */
                // @ts-ignore
                 getTrayIconSize(): java.awt.Dimension;
            }
        }
    }
}
