declare namespace java {
    namespace util {
        namespace prefs {
            // @ts-ignore
            interface PreferenceChangeListener {
                /**
                 * This method gets called when a preference is added, removed or when
                 * its value is changed.
                 * <p>
                 */
                // @ts-ignore
                 preferenceChange(evt: java.util.prefs.PreferenceChangeEvent): void;
            }
        }
    }
}
