/* fwupd.vapi generated by vapigen, do not modify. */

[CCode (cprefix = "Fwupd", gir_namespace = "Fwupd", gir_version = "2.0", lower_case_cprefix = "fwupd_")]
namespace Fwupd {
	[CCode (cheader_filename = "fwupd.h", type_id = "fwupd_bios_setting_get_type ()")]
	public class BiosSetting : GLib.Object, Fwupd.Codec {
		[CCode (has_construct_function = false)]
		[Version (since = "1.8.4")]
		public BiosSetting (string? name, string? path);
		[Version (since = "1.8.4")]
		public void add_possible_value (string possible_value);
		[Version (since = "1.8.4")]
		public unowned string get_current_value ();
		[Version (since = "1.8.4")]
		public unowned string get_description ();
		[Version (since = "2.1.1")]
		public unowned string get_filename ();
		[Version (since = "1.8.4")]
		public unowned string get_id ();
		[Version (since = "1.8.4")]
		public Fwupd.BiosSettingKind get_kind ();
		[Version (since = "1.8.4")]
		public uint64 get_lower_bound ();
		[Version (since = "1.8.4")]
		public unowned string get_name ();
		[Version (since = "1.8.4")]
		public unowned string? get_path ();
		[Version (since = "1.8.4")]
		public GLib.GenericArray<weak string> get_possible_values ();
		[Version (since = "1.8.4")]
		public bool get_read_only ();
		[Version (since = "1.8.4")]
		public uint64 get_scalar_increment ();
		[Version (since = "1.8.4")]
		public uint64 get_upper_bound ();
		[Version (since = "1.8.4")]
		public bool has_possible_value (string val);
		[Version (since = "1.8.4")]
		public unowned string map_possible_value (string key) throws GLib.Error;
		[Version (since = "1.8.4")]
		public void set_current_value (string? value);
		[Version (since = "1.8.4")]
		public void set_description (string? description);
		[Version (since = "2.1.1")]
		public void set_filename (string filename);
		[Version (since = "1.8.4")]
		public void set_id (string id);
		[Version (since = "1.8.4")]
		public void set_kind (Fwupd.BiosSettingKind type);
		[Version (since = "1.8.4")]
		public void set_lower_bound (uint64 val);
		[Version (since = "1.8.4")]
		public void set_name (string? name);
		[Version (since = "1.8.4")]
		public void set_path (string? path);
		[Version (since = "1.8.4")]
		public void set_read_only (bool val);
		[Version (since = "1.8.4")]
		public void set_scalar_increment (uint64 val);
		[Version (since = "1.8.4")]
		public void set_upper_bound (uint64 val);
		[Version (since = "1.9.4")]
		public virtual bool write_value (string value) throws GLib.Error;
	}
	[CCode (cheader_filename = "fwupd.h", type_id = "fwupd_client_get_type ()")]
	public class Client : GLib.Object {
		[CCode (has_construct_function = false)]
		[Version (since = "0.7.0")]
		public Client ();
		[Version (since = "1.2.6")]
		public bool activate (GLib.Cancellable? cancellable, string device_id) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async bool activate_async (string device_id, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.7.1")]
		public void add_hint (string key, string? value);
		[Version (since = "1.9.20")]
		public string build_report_devices (GLib.GenericArray<Fwupd.Device> devices, GLib.HashTable<string,string> metadata) throws GLib.Error;
		[Version (since = "2.0.0")]
		public string build_report_history (GLib.GenericArray<Fwupd.Device> devices, Fwupd.Remote? remote, GLib.HashTable<string,string> metadata) throws GLib.Error;
		[Version (since = "2.0.0")]
		public string build_report_security (GLib.GenericArray<Fwupd.SecurityAttr> attrs, GLib.HashTable<string,string> metadata) throws GLib.Error;
		[Version (since = "2.0.17")]
		public bool clean_remote (string remote_id, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.0.17")]
		public async bool clean_remote_async (string remote_id, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "0.7.0")]
		public bool clear_results (string device_id, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async bool clear_results_async (string device_id, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async bool connect_async (GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.4.5")]
		public GLib.Bytes download_bytes (string url, Fwupd.ClientDownloadFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async GLib.Bytes download_bytes_async (string url, Fwupd.ClientDownloadFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.5.2")]
		public bool download_file (string url, GLib.File file, Fwupd.ClientDownloadFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.9.19")]
		public void download_set_retries (uint retries);
		[Version (since = "2.0.0")]
		public bool emulation_load (string filename, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.0.0")]
		public async bool emulation_load_async (string filename, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "2.0.0")]
		public bool emulation_save (string filename, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.0.0")]
		public async bool emulation_save_async (string filename, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.4.5")]
		public bool ensure_networking () throws GLib.Error;
		[Version (since = "1.9.6")]
		public bool fix_host_security_attr (string appstream_id, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.9.6")]
		public async bool fix_host_security_attr_async (string appstream_id, GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (since = "1.2.6")]
		public string[] get_approved_firmware (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async GLib.GenericArray<weak string> get_approved_firmware_async (GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.8.1")]
		public uint32 get_battery_level ();
		[Version (since = "1.8.1")]
		public uint32 get_battery_threshold ();
		[Version (since = "1.8.4")]
		public GLib.GenericArray<weak Fwupd.BiosSetting> get_bios_settings (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.8.4")]
		public async GLib.GenericArray<weak Fwupd.BiosSetting> get_bios_settings_async (GLib.Cancellable? cancellable) throws GLib.Error;
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (since = "1.4.6")]
		public string[] get_blocked_firmware (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async GLib.GenericArray<weak string> get_blocked_firmware_async (GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.3.4")]
		public bool get_daemon_interactive ();
		[Version (since = "0.9.6")]
		public unowned string get_daemon_version ();
		[Version (since = "1.0.0")]
		public GLib.GenericArray<weak Fwupd.Device> get_details (string filename, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.0.1")]
		public async GLib.GenericArray<weak Fwupd.Device> get_details_async (string filename, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.5.0")]
		public GLib.GenericArray<weak Fwupd.Device> get_details_bytes (GLib.Bytes bytes, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async GLib.GenericArray<weak Fwupd.Device> get_details_bytes_async (GLib.Bytes bytes, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "0.9.3")]
		public Fwupd.Device get_device_by_id (string device_id, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async Fwupd.Device get_device_by_id_async (string device_id, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "0.9.2")]
		public GLib.GenericArray<weak Fwupd.Device> get_devices (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async GLib.GenericArray<weak Fwupd.Device> get_devices_async (GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.4.1")]
		public GLib.GenericArray<weak Fwupd.Device> get_devices_by_guid (string guid, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async GLib.GenericArray<weak Fwupd.Release> get_devices_by_guid_async (string guid, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "0.9.8")]
		public GLib.GenericArray<weak Fwupd.Release> get_downgrades (string device_id, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async GLib.GenericArray<weak Fwupd.Release> get_downgrades_async (string device_id, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.0.4")]
		public GLib.GenericArray<weak Fwupd.Device> get_history (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async GLib.GenericArray<weak Fwupd.Device> get_history_async (GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.7.3")]
		public unowned string get_host_bkc ();
		[Version (since = "1.3.2")]
		public unowned string get_host_machine_id ();
		[Version (since = "1.3.1")]
		public unowned string get_host_product ();
		[Version (since = "1.5.0")]
		public GLib.GenericArray<weak Fwupd.SecurityAttr> get_host_security_attrs (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async GLib.GenericArray<weak Fwupd.SecurityAttr> get_host_security_attrs_async (GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.7.1")]
		public GLib.GenericArray<weak Fwupd.SecurityAttr> get_host_security_events (uint limit, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.7.1")]
		public async GLib.GenericArray<weak Fwupd.SecurityAttr> get_host_security_events_async (uint limit, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.5.0")]
		public unowned string get_host_security_id ();
		[Version (since = "1.8.2")]
		public unowned string get_host_vendor ();
		[Version (since = "2.0.17")]
		public void get_hwids ([CCode (array_length = false, array_null_terminated = true)] out string[] keys, [CCode (array_length = false, array_null_terminated = true)] out string[] values);
		[Version (since = "1.5.3")]
		public GLib.MainContext get_main_context ();
		[Version (since = "1.8.0")]
		public bool get_only_trusted ();
		[Version (since = "0.7.3")]
		public uint get_percentage ();
		[Version (since = "2.1.3")]
		public double get_percentage_full ();
		[Version (since = "1.5.0")]
		public GLib.GenericArray<weak Fwupd.Plugin> get_plugins (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async GLib.GenericArray<weak Fwupd.Device> get_plugins_async (GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "0.9.3")]
		public GLib.GenericArray<weak Fwupd.Release> get_releases (string device_id, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async GLib.GenericArray<weak Fwupd.Release> get_releases_async (string device_id, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "0.9.3")]
		public Fwupd.Remote get_remote_by_id (string remote_id, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async Fwupd.Remote get_remote_by_id_async (string remote_id, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "0.9.3")]
		public GLib.GenericArray<weak Fwupd.Remote> get_remotes (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async GLib.GenericArray<weak Fwupd.Remote> get_remotes_async (GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.5.0")]
		public GLib.HashTable<void*,void*> get_report_metadata (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async GLib.HashTable<void*,void*> get_report_metadata_async (GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "0.7.0")]
		public Fwupd.Device get_results (string device_id, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async Fwupd.Device get_results_async (string device_id, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "0.7.3")]
		public Fwupd.Status get_status ();
		[Version (since = "1.2.4")]
		public bool get_tainted ();
		[Version (since = "0.9.8")]
		public GLib.GenericArray<weak Fwupd.Release> get_upgrades (string device_id, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async GLib.GenericArray<weak Fwupd.Release> get_upgrades_async (string device_id, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.5.2")]
		public unowned string get_user_agent ();
		[Version (since = "1.8.11")]
		public string inhibit (string reason, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.8.11")]
		public async string inhibit_async (string reason, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "0.7.0")]
		public bool install (string device_id, string filename, Fwupd.InstallFlags install_flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async bool install_async (string device_id, string filename, Fwupd.InstallFlags install_flags, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.4.5")]
		public bool install_bytes (string device_id, GLib.Bytes bytes, Fwupd.InstallFlags install_flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async bool install_bytes_async (string device_id, GLib.Bytes bytes, Fwupd.InstallFlags install_flags, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "2.0.0")]
		public bool install_release (Fwupd.Device device, Fwupd.Release release, Fwupd.InstallFlags install_flags, Fwupd.ClientDownloadFlags download_flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.0.0")]
		public async bool install_release_async (Fwupd.Device device, Fwupd.Release release, Fwupd.InstallFlags install_flags, Fwupd.ClientDownloadFlags download_flags, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.8.4")]
		public bool modify_bios_setting (owned GLib.HashTable<void*,void*> settings, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.8.4")]
		public async bool modify_bios_setting_async (owned GLib.HashTable<void*,void*> settings, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "2.0.0")]
		public bool modify_config (string section, string key, string value, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.0.0")]
		public async bool modify_config_async (string section, string key, string value, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.0.4")]
		public bool modify_device (string device_id, string key, string value, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async bool modify_device_async (string device_id, string key, string value, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "0.9.8")]
		public bool modify_remote (string remote_id, string key, string value, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async bool modify_remote_async (string remote_id, string key, string value, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.8.11")]
		public async bool quit_async (GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "2.0.0")]
		public bool refresh_remote (Fwupd.Remote remote, Fwupd.ClientDownloadFlags download_flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.0.0")]
		public async bool refresh_remote_async (Fwupd.Remote remote, Fwupd.ClientDownloadFlags download_flags, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.9.15")]
		public bool reset_config (string section, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.9.15")]
		public async bool reset_config_async (string section, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "2.0.16")]
		public GLib.GenericArray<weak Fwupd.Release> search (string token, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.0.16")]
		public async GLib.GenericArray<weak Fwupd.Release> search_async (string token, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.2.6")]
		public string self_sign (string value, Fwupd.SelfSignFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async string self_sign_async (string value, Fwupd.SelfSignFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.2.6")]
		public bool set_approved_firmware (string checksums, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async bool set_approved_firmware_async (GLib.GenericArray<string> checksums, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.4.6")]
		public bool set_blocked_firmware (string checksums, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async bool set_blocked_firmware_async (GLib.GenericArray<string> checksums, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.8.11")]
		public void set_daemon_version (string daemon_version);
		[Version (since = "1.4.5")]
		public bool set_feature_flags (Fwupd.FeatureFlags feature_flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async bool set_feature_flags_async (Fwupd.FeatureFlags feature_flags, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.5.3")]
		public void set_main_context (GLib.MainContext? main_ctx);
		[Version (since = "1.4.5")]
		public void set_user_agent (string user_agent);
		[Version (since = "1.4.5")]
		public void set_user_agent_for_package (string package_name, string package_version);
		[Version (since = "1.9.6")]
		public bool undo_host_security_attr (string appstream_id, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.9.6")]
		public async bool undo_host_security_attr_async (string appstream_id, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.8.11")]
		public bool uninhibit (string inhibit_id, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.8.11")]
		public async bool uninhibit_async (string inhibit_id, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "0.7.0")]
		public bool @unlock (string device_id, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async bool unlock_async (string device_id, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.0.0")]
		public bool update_metadata (string remote_id, string metadata_fn, string signature_fn, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.4.5")]
		public bool update_metadata_bytes (string remote_id, GLib.Bytes metadata, GLib.Bytes signature, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async bool update_metadata_bytes_async (string remote_id, GLib.Bytes metadata, GLib.Bytes signature, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.4.5")]
		public GLib.Bytes upload_bytes (string url, string payload, string? signature, Fwupd.ClientUploadFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async GLib.Bytes upload_bytes_async (string url, string payload, string? signature, Fwupd.ClientUploadFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "1.9.20")]
		public string upload_report (string url, string payload, string? signature, Fwupd.ClientUploadFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.9.20")]
		public async string upload_report_async (string url, string payload, string? signature, Fwupd.ClientUploadFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "0.7.0")]
		public bool verify (string device_id, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async bool verify_async (string device_id, GLib.Cancellable? cancellable) throws GLib.Error;
		[Version (since = "0.8.0")]
		public bool verify_update (string device_id, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "1.5.0")]
		public async bool verify_update_async (string device_id, GLib.Cancellable? cancellable) throws GLib.Error;
		[NoAccessorMethod]
		[Version (since = "1.8.1")]
		public uint battery_level { get; set; }
		[NoAccessorMethod]
		[Version (since = "1.8.1")]
		public uint battery_threshold { get; set; }
		[Version (since = "0.9.6")]
		public string daemon_version { get; }
		[NoAccessorMethod]
		[Version (since = "1.7.3")]
		public string host_bkc { owned get; set; }
		[NoAccessorMethod]
		[Version (since = "1.3.2")]
		public string host_machine_id { owned get; set; }
		[NoAccessorMethod]
		[Version (since = "1.3.1")]
		public string host_product { owned get; set; }
		[NoAccessorMethod]
		[Version (since = "1.5.0")]
		public string host_security_id { owned get; set; }
		[NoAccessorMethod]
		[Version (since = "1.8.2")]
		public string host_vendor { owned get; set; }
		[NoAccessorMethod]
		[Version (since = "1.3.4")]
		public bool interactive { get; }
		[Version (since = "1.8.0")]
		public bool only_trusted { get; }
		[NoAccessorMethod]
		[Version (since = "0.7.3")]
		public uint percentage { get; set; }
		[NoAccessorMethod]
		[Version (since = "2.1.3")]
		public double percentage_full { get; set; }
		[NoAccessorMethod]
		[Version (since = "0.7.0")]
		public uint status { get; set; }
		[Version (since = "1.2.4")]
		public bool tainted { get; }
		[Version (since = "0.7.0")]
		public virtual signal void changed ();
		[Version (since = "0.7.1")]
		public virtual signal void device_added (Fwupd.Device result);
		[Version (since = "0.7.1")]
		public virtual signal void device_changed (Fwupd.Device result);
		[Version (since = "0.7.1")]
		public virtual signal void device_removed (Fwupd.Device result);
		[Version (since = "1.6.2")]
		public virtual signal void device_request (Fwupd.Request request);
		public virtual signal void status_changed (uint status);
	}
	[CCode (cheader_filename = "fwupd.h", type_id = "fwupd_device_get_type ()")]
	public class Device : GLib.Object, Fwupd.Codec {
		[CCode (has_construct_function = false)]
		[Version (since = "0.9.3")]
		public Device ();
		[Version (since = "0.9.3")]
		public void add_checksum (string checksum);
		[Version (since = "1.5.1")]
		public void add_child (Fwupd.Device child);
		[Version (since = "0.9.3")]
		public void add_flag (Fwupd.DeviceFlags flag);
		[Version (since = "0.9.3")]
		public void add_guid (string guid);
		[Version (since = "0.9.8")]
		public void add_icon (string icon);
		[Version (since = "1.2.5")]
		public void add_instance_id (string instance_id);
		[Version (since = "1.7.6")]
		public void add_issue (string issue);
		[Version (since = "1.8.1")]
		public void add_problem (Fwupd.DeviceProblem problem);
		[Version (since = "1.5.8")]
		public void add_protocol (string protocol);
		[Version (since = "0.9.8")]
		public void add_release (Fwupd.Release release);
		[Version (since = "1.9.10")]
		public void add_request_flag (Fwupd.RequestFlags request_flag);
		[Version (since = "1.5.5")]
		public void add_vendor_id (string vendor_id);
		[Version (since = "1.3.7")]
		public static void array_ensure_parents (GLib.GenericArray<Fwupd.Device> devices);
		[Version (since = "1.9.3")]
		public static GLib.GenericArray<weak Fwupd.Device> array_filter_flags (GLib.GenericArray<Fwupd.Device> devices, Fwupd.DeviceFlags include, Fwupd.DeviceFlags exclude) throws GLib.Error;
		[Version (since = "1.1.1")]
		public int compare (Fwupd.Device self2);
		[Version (since = "0.7.0")]
		public static Fwupd.DeviceFlags flag_from_string (string? val);
		[Version (since = "0.7.0")]
		public static unowned string flag_to_string (Fwupd.DeviceFlags val);
		[Version (since = "1.8.1")]
		public uint32 get_battery_level ();
		[Version (since = "1.8.1")]
		public uint32 get_battery_threshold ();
		[Version (since = "1.5.0")]
		public unowned string get_branch ();
		[Version (since = "0.9.3")]
		public unowned GLib.GenericArray<string> get_checksums ();
		[Version (since = "1.3.7")]
		public unowned GLib.GenericArray<Fwupd.Device> get_children ();
		[Version (since = "1.6.0")]
		public unowned string? get_composite_id ();
		[Version (since = "0.9.3")]
		public uint64 get_created ();
		[Version (since = "2.1.2")]
		public unowned string get_details_url ();
		[Version (since = "0.9.3")]
		public uint64 get_flags ();
		[Version (since = "0.9.3")]
		public uint32 get_flashes_left ();
		[Version (since = "0.9.3")]
		public unowned string get_guid_default ();
		[Version (since = "0.9.3")]
		public unowned GLib.GenericArray<string> get_guids ();
		[Version (since = "0.9.8")]
		public unowned GLib.GenericArray<string> get_icons ();
		[Version (since = "0.9.3")]
		public unowned string get_id ();
		[Version (since = "1.1.3")]
		public uint32 get_install_duration ();
		[Version (since = "1.2.5")]
		public unowned GLib.GenericArray<string> get_instance_ids ();
		[Version (since = "1.7.6")]
		public unowned GLib.GenericArray<string> get_issues ();
		[Version (since = "0.9.3")]
		public uint64 get_modified ();
		[Version (since = "0.9.3")]
		public unowned string get_name ();
		[Version (since = "1.0.8")]
		public unowned Fwupd.Device get_parent ();
		[Version (since = "1.0.8")]
		public unowned string get_parent_id ();
		[Version (since = "1.8.11")]
		public uint get_percentage ();
		[Version (since = "1.0.0")]
		public unowned string get_plugin ();
		[Version (since = "1.8.1")]
		public uint64 get_problems ();
		[Version (since = "1.5.8")]
		public unowned GLib.GenericArray<string> get_protocols ();
		[Version (since = "0.9.8")]
		public unowned Fwupd.Release get_release_default ();
		[Version (since = "0.9.8")]
		public unowned GLib.GenericArray<Fwupd.Release> get_releases ();
		[Version (since = "1.9.10")]
		public uint64 get_request_flags ();
		[Version (since = "1.7.4")]
		public unowned Fwupd.Device get_root ();
		[Version (since = "1.1.2")]
		public unowned string get_serial ();
		[Version (since = "1.4.0")]
		public Fwupd.Status get_status ();
		[Version (since = "0.9.3")]
		public unowned string get_summary ();
		[Version (since = "0.9.8")]
		public unowned string get_update_error ();
		[Version (since = "0.9.8")]
		public Fwupd.UpdateState get_update_state ();
		[Version (since = "0.9.3")]
		public unowned string get_vendor ();
		[Version (since = "1.5.5")]
		public unowned GLib.GenericArray<string> get_vendor_ids ();
		[Version (since = "0.9.3")]
		public unowned string get_version ();
		[Version (since = "0.9.3")]
		public unowned string get_version_bootloader ();
		[Version (since = "1.4.0")]
		public uint64 get_version_bootloader_raw ();
		[Version (since = "1.6.2")]
		public uint64 get_version_build_date ();
		[Version (since = "1.2.9")]
		public Fwupd.VersionFormat get_version_format ();
		[Version (since = "2.1.2")]
		public unowned string get_version_highest ();
		[Version (since = "2.1.2")]
		public uint64 get_version_highest_raw ();
		[Version (since = "0.9.3")]
		public unowned string get_version_lowest ();
		[Version (since = "1.4.0")]
		public uint64 get_version_lowest_raw ();
		[Version (since = "1.3.6")]
		public uint64 get_version_raw ();
		[Version (since = "1.8.7")]
		public bool has_checksum (string checksum);
		[Version (since = "0.9.3")]
		public bool has_flag (Fwupd.DeviceFlags flag);
		[Version (since = "0.9.3")]
		public bool has_guid (string guid);
		[Version (since = "1.6.2")]
		public bool has_icon (string icon);
		[Version (since = "1.2.5")]
		public bool has_instance_id (string instance_id);
		[Version (since = "1.8.1")]
		public bool has_problem (Fwupd.DeviceProblem problem);
		[Version (since = "1.5.8")]
		public bool has_protocol (string protocol);
		[Version (since = "1.9.10")]
		public bool has_request_flag (Fwupd.RequestFlags request_flag);
		[Version (since = "1.5.5")]
		public bool has_vendor_id (string vendor_id);
		[Version (since = "1.4.1")]
		public static bool id_is_valid (string device_id);
		[Version (since = "1.1.0")]
		public void incorporate (Fwupd.Device donor);
		[Version (since = "1.9.3")]
		public bool match_flags (Fwupd.DeviceFlags include, Fwupd.DeviceFlags exclude);
		[Version (since = "1.8.1")]
		public static Fwupd.DeviceProblem problem_from_string (string? val);
		[Version (since = "1.8.1")]
		public static unowned string problem_to_string (Fwupd.DeviceProblem val);
		[Version (since = "1.6.2")]
		public void remove_child (Fwupd.Device child);
		[Version (since = "2.0.0")]
		public void remove_children ();
		[Version (since = "0.9.3")]
		public void remove_flag (Fwupd.DeviceFlags flag);
		[Version (since = "1.8.1")]
		public void remove_problem (Fwupd.DeviceProblem problem);
		[Version (since = "1.9.10")]
		public void remove_request_flag (Fwupd.RequestFlags request_flag);
		[Version (since = "1.8.1")]
		public void set_battery_level (uint32 battery_level);
		[Version (since = "1.8.1")]
		public void set_battery_threshold (uint32 battery_threshold);
		[Version (since = "1.5.0")]
		public void set_branch (string? branch);
		[Version (since = "1.6.0")]
		public void set_composite_id (string? composite_id);
		[Version (since = "0.9.3")]
		public void set_created (uint64 created);
		[Version (since = "2.1.2")]
		public void set_details_url (string? details_url);
		[Version (since = "0.9.3")]
		public void set_flags (uint64 flags);
		[Version (since = "0.9.3")]
		public void set_flashes_left (uint32 flashes_left);
		[Version (since = "0.9.3")]
		public void set_id (string? id);
		[Version (since = "1.1.3")]
		public void set_install_duration (uint32 duration);
		[Version (since = "0.9.3")]
		public void set_modified (uint64 modified);
		[Version (since = "0.9.3")]
		public void set_name (string? name);
		[Version (since = "1.0.8")]
		public void set_parent (Fwupd.Device? parent);
		[Version (since = "1.0.8")]
		public void set_parent_id (string? parent_id);
		[Version (since = "1.8.11")]
		public void set_percentage (uint percentage);
		[Version (since = "1.0.0")]
		public void set_plugin (string? plugin);
		[Version (since = "1.8.1")]
		public void set_problems (uint64 problems);
		[Version (since = "1.9.10")]
		public void set_request_flags (uint64 request_flags);
		[Version (since = "1.1.2")]
		public void set_serial (string? serial);
		[Version (since = "1.4.0")]
		public void set_status (Fwupd.Status status);
		[Version (since = "0.9.3")]
		public void set_summary (string? summary);
		[Version (since = "0.9.8")]
		public void set_update_error (string? update_error);
		[Version (since = "0.9.8")]
		public void set_update_state (Fwupd.UpdateState update_state);
		[Version (since = "0.9.3")]
		public void set_vendor (string? vendor);
		[Version (since = "0.9.3")]
		public void set_version (string? version);
		[Version (since = "0.9.3")]
		public void set_version_bootloader (string? version_bootloader);
		[Version (since = "1.4.0")]
		public void set_version_bootloader_raw (uint64 version_bootloader_raw);
		[Version (since = "1.6.2")]
		public void set_version_build_date (uint64 version_build_date);
		[Version (since = "1.2.9")]
		public void set_version_format (Fwupd.VersionFormat version_format);
		[Version (since = "2.1.2")]
		public void set_version_highest (string? version_highest);
		[Version (since = "2.1.2")]
		public void set_version_highest_raw (uint64 version_highest_raw);
		[Version (since = "0.9.3")]
		public void set_version_lowest (string? version_lowest);
		[Version (since = "1.4.0")]
		public void set_version_lowest_raw (uint64 version_lowest_raw);
		[Version (since = "1.3.6")]
		public void set_version_raw (uint64 version_raw);
		[Version (since = "1.5.8")]
		public uint battery_level { get; set; }
		[Version (since = "1.5.8")]
		public uint battery_threshold { get; set; }
		[Version (since = "0.9.3")]
		public uint64 flags { get; set; }
		[Version (since = "2.0.0")]
		public string id { get; set; }
		[Version (since = "1.0.8")]
		public Fwupd.Device parent { get; set construct; }
		[Version (since = "1.8.11")]
		public uint percentage { get; set; }
		[Version (since = "1.8.1")]
		public uint64 problems { get; set; }
		[Version (since = "1.9.10")]
		public uint64 request_flags { get; set; }
		[Version (since = "1.4.0")]
		public uint status { get; set; }
		[Version (since = "0.9.8")]
		public string update_error { get; set; }
		[Version (since = "0.9.8")]
		public uint update_state { get; set; }
		[Version (since = "2.0.17")]
		public string vendor { get; set; }
		[Version (since = "1.8.15")]
		public string version { get; set; }
		[Version (since = "1.2.9")]
		public uint version_format { get; set; }
	}
	[CCode (cheader_filename = "fwupd.h", type_id = "fwupd_jcat_blob_get_type ()")]
	public class JcatBlob : GLib.Object, Fwupd.Codec {
		[CCode (has_construct_function = false)]
		[Version (since = "2.1.3")]
		public JcatBlob (Fwupd.JcatBlobKind kind, GLib.Bytes data, Fwupd.JcatBlobFlags flags);
		[Version (since = "2.1.3")]
		public static string flags_to_string (Fwupd.JcatBlobFlags val);
		[Version (since = "2.1.3")]
		public unowned GLib.Bytes get_data ();
		[Version (since = "2.1.3")]
		public string get_data_as_string ();
		[Version (since = "2.1.3")]
		public Fwupd.JcatBlobKind get_kind ();
		[Version (since = "2.1.3")]
		public Fwupd.JcatBlobKind get_target ();
		[Version (since = "2.1.3")]
		public uint64 get_timestamp ();
		[Version (since = "2.1.3")]
		public static Fwupd.JcatBlobKind kind_from_string (string? val);
		[Version (since = "2.1.3")]
		public static unowned string kind_to_string (Fwupd.JcatBlobKind val);
		[Version (since = "2.1.3")]
		public static unowned string method_to_string (Fwupd.JcatBlobMethod val);
		[Version (since = "2.1.3")]
		public void set_target (Fwupd.JcatBlobKind target);
		[Version (since = "2.1.3")]
		public void set_timestamp (uint64 timestamp);
		[CCode (has_construct_function = false)]
		[Version (since = "2.1.3")]
		public JcatBlob.utf8 (Fwupd.JcatBlobKind kind, string data);
	}
	[CCode (cheader_filename = "fwupd.h", type_id = "fwupd_jcat_file_get_type ()")]
	public class JcatFile : GLib.Object, Fwupd.Codec {
		[CCode (has_construct_function = false)]
		[Version (since = "2.1.3")]
		public JcatFile ();
		[Version (since = "2.1.3")]
		public void add_item (Fwupd.JcatItem item);
		[Version (since = "2.1.3")]
		public GLib.Bytes export_bytes () throws GLib.Error;
		[Version (since = "2.1.3")]
		public string export_json (Fwupd.CodecFlags flags) throws GLib.Error;
		[Version (since = "2.1.3")]
		public Fwupd.JcatItem get_item_by_id (string id) throws GLib.Error;
		[Version (since = "2.1.3")]
		public Fwupd.JcatItem get_item_default () throws GLib.Error;
		[Version (since = "2.1.3")]
		public GLib.GenericArray<weak Fwupd.JcatItem> get_items ();
		[Version (since = "2.1.3")]
		public uint32 get_version_major ();
		[Version (since = "2.1.3")]
		public uint32 get_version_minor ();
		[Version (since = "2.1.3")]
		public bool import_bytes (GLib.Bytes blob) throws GLib.Error;
		[Version (since = "2.1.3")]
		public bool import_json (string json) throws GLib.Error;
		[Version (since = "2.1.3")]
		public bool import_stream (GLib.InputStream istream) throws GLib.Error;
	}
	[CCode (cheader_filename = "fwupd.h", type_id = "fwupd_jcat_item_get_type ()")]
	public class JcatItem : GLib.Object, Fwupd.Codec {
		[CCode (has_construct_function = false)]
		[Version (since = "2.1.3")]
		public JcatItem (string id);
		[Version (since = "2.1.3")]
		public void add_alias_id (string id);
		[Version (since = "2.1.3")]
		public void add_blob (Fwupd.JcatBlob blob);
		[Version (since = "2.1.3")]
		public GLib.GenericArray<weak string> get_alias_ids ();
		[Version (since = "2.1.3")]
		public Fwupd.JcatBlob get_blob_by_kind (Fwupd.JcatBlobKind kind) throws GLib.Error;
		[Version (since = "2.1.3")]
		public GLib.GenericArray<weak Fwupd.JcatBlob> get_blobs ();
		[Version (since = "2.1.3")]
		public GLib.GenericArray<weak Fwupd.JcatBlob> get_blobs_by_kind (Fwupd.JcatBlobKind kind);
		[Version (since = "2.1.3")]
		public unowned string get_id ();
		[Version (since = "2.1.3")]
		public unowned string get_id_safe () throws GLib.Error;
		[Version (since = "2.1.3")]
		public bool has_target ();
		[Version (since = "2.1.3")]
		public void remove_alias_id (string id);
	}
	[CCode (cheader_filename = "fwupd.h", has_type_id = false)]
	[Compact]
	public class JsonArray {
		[Version (since = "2.1.1")]
		public void add_array (Fwupd.JsonArray json_arr);
		[Version (since = "2.1.1")]
		public void add_bytes (GLib.Bytes value);
		[Version (since = "2.1.1")]
		public void add_node (Fwupd.JsonNode json_node);
		[Version (since = "2.1.1")]
		public void add_object (Fwupd.JsonObject json_obj);
		[Version (since = "2.1.1")]
		public void add_raw (string value);
		[Version (since = "2.1.1")]
		public void add_string (string value);
		[Version (since = "2.1.1")]
		public uint get_size ();
		[Version (since = "2.1.1")]
		public GLib.StringBuilder to_string (Fwupd.JsonExportFlags flags);
	}
	[CCode (cheader_filename = "fwupd.h", has_type_id = false)]
	[Compact]
	public class JsonNode {
		[Version (since = "2.1.1")]
		public Fwupd.JsonNodeKind get_kind ();
		[Version (since = "2.1.1")]
		public static unowned string kind_to_string (Fwupd.JsonNodeKind val);
		[Version (since = "2.1.1")]
		public GLib.StringBuilder to_string (Fwupd.JsonExportFlags flags);
		[Version (since = "2.1.1")]
		public unowned Fwupd.JsonNode unref ();
	}
	[CCode (cheader_filename = "fwupd.h", has_type_id = false)]
	[Compact]
	public class JsonObject {
		[Version (since = "2.1.1")]
		public void add_array (string key, Fwupd.JsonArray json_arr);
		[Version (since = "2.1.1")]
		public void add_array_strv (string key, string value);
		[Version (since = "2.1.1")]
		public void add_boolean (string key, bool value);
		[Version (since = "2.1.1")]
		public void add_bytes (string key, GLib.Bytes value);
		[Version (since = "2.1.1")]
		public void add_integer (string key, int64 value);
		[Version (since = "2.1.1")]
		public void add_node (string key, Fwupd.JsonNode json_node);
		[Version (since = "2.1.1")]
		public void add_object (string key, Fwupd.JsonObject json_obj);
		[Version (since = "2.1.1")]
		public void add_object_map (string key, GLib.HashTable<string,string> value);
		[Version (since = "2.1.1")]
		public void add_raw (string key, string value);
		[Version (since = "2.1.1")]
		public void add_string (string key, string? value);
		[Version (since = "2.1.1")]
		public void clear ();
		[Version (since = "2.1.1")]
		public bool get_boolean (string key, out bool value) throws GLib.Error;
		[Version (since = "2.1.1")]
		public bool get_boolean_with_default (string key, out bool value, bool value_default) throws GLib.Error;
		[Version (since = "2.1.1")]
		public bool get_integer (string key, out int64 value) throws GLib.Error;
		[Version (since = "2.1.1")]
		public bool get_integer_with_default (string key, out int64 value, int64 value_default) throws GLib.Error;
		[Version (since = "2.1.1")]
		public uint get_size ();
		[Version (since = "2.1.1")]
		public unowned string get_string_with_default (string key, string value_default) throws GLib.Error;
		[Version (since = "2.1.1")]
		public GLib.Bytes to_bytes (Fwupd.JsonExportFlags flags);
		[Version (since = "2.1.1")]
		public GLib.StringBuilder to_string (Fwupd.JsonExportFlags flags);
	}
	[CCode (cheader_filename = "fwupd.h", type_id = "fwupd_json_parser_get_type ()")]
	public class JsonParser : GLib.Object {
		[CCode (has_construct_function = false)]
		[Version (since = "2.1.1")]
		public JsonParser ();
		[Version (since = "2.1.1")]
		public void set_max_depth (uint max_depth);
		[Version (since = "2.1.1")]
		public void set_max_items (uint max_items);
		[Version (since = "2.1.1")]
		public void set_max_quoted (uint max_quoted);
	}
	[CCode (cheader_filename = "fwupd.h", type_id = "fwupd_plugin_get_type ()")]
	public class Plugin : GLib.Object, Fwupd.Codec {
		[CCode (has_construct_function = false)]
		[Version (since = "1.5.0")]
		public Plugin ();
		[Version (since = "1.5.0")]
		public void add_flag (Fwupd.PluginFlags flag);
		[Version (since = "1.5.0")]
		public static Fwupd.PluginFlags flag_from_string (string? val);
		[Version (since = "1.5.0")]
		public static unowned string flag_to_string (Fwupd.PluginFlags val);
		[Version (since = "1.5.0")]
		public uint64 get_flags ();
		[Version (since = "1.5.0")]
		public unowned string get_name ();
		[Version (since = "1.5.0")]
		public bool has_flag (Fwupd.PluginFlags flag);
		[Version (since = "1.5.0")]
		public void remove_flag (Fwupd.PluginFlags flag);
		[Version (since = "1.5.0")]
		public void set_flags (uint64 flags);
		[Version (since = "1.5.0")]
		public void set_name (string name);
		[Version (since = "1.5.0")]
		public uint64 flags { get; set; }
		[Version (since = "1.5.0")]
		public string name { get; set; }
	}
	[CCode (cheader_filename = "fwupd.h", type_id = "fwupd_release_get_type ()")]
	public class Release : GLib.Object, Fwupd.Codec {
		[CCode (has_construct_function = false)]
		[Version (since = "0.9.3")]
		public Release ();
		[Version (since = "1.2.7")]
		public void add_category (string category);
		[Version (since = "0.9.3")]
		public void add_checksum (string checksum);
		[Version (since = "1.2.6")]
		public void add_flag (Fwupd.ReleaseFlags flag);
		[Version (since = "1.3.2")]
		public void add_issue (string issue);
		[Version (since = "1.5.6")]
		public void add_location (string location);
		[Version (since = "1.0.4")]
		public void add_metadata (GLib.HashTable<void*,void*> hash);
		[Version (since = "1.0.4")]
		public void add_metadata_item (string key, string value);
		[Version (since = "1.8.8")]
		public void add_report (Fwupd.Report report);
		[Version (since = "1.7.3")]
		public void add_tag (string tag);
		[Version (since = "1.9.3")]
		public static GLib.GenericArray<weak Fwupd.Release> array_filter_flags (GLib.GenericArray<Fwupd.Release> rels, Fwupd.ReleaseFlags include, Fwupd.ReleaseFlags exclude) throws GLib.Error;
		[Version (since = "1.2.6")]
		public static Fwupd.ReleaseFlags flag_from_string (string? val);
		[Version (since = "1.2.6")]
		public static unowned string flag_to_string (Fwupd.ReleaseFlags val);
		[Version (since = "0.9.3")]
		public unowned string get_appstream_id ();
		[Version (since = "1.5.0")]
		public unowned string get_branch ();
		[Version (since = "1.2.7")]
		public unowned GLib.GenericArray<string> get_categories ();
		[Version (since = "0.9.3")]
		public unowned GLib.GenericArray<string> get_checksums ();
		[Version (since = "1.4.0")]
		public uint64 get_created ();
		[Version (since = "0.9.3")]
		public unowned string get_description ();
		[Version (since = "1.3.3")]
		public unowned string get_detach_caption ();
		[Version (since = "1.3.3")]
		public unowned string get_detach_image ();
		[Version (since = "1.2.4")]
		public unowned string get_details_url ();
		[Version (since = "0.9.3")]
		public unowned string get_filename ();
		[Version (since = "1.2.6")]
		public Fwupd.ReleaseFlags get_flags ();
		[Version (since = "0.9.3")]
		public unowned string get_homepage ();
		[Version (since = "1.7.2")]
		public unowned string get_id ();
		[Version (since = "1.2.1")]
		public uint32 get_install_duration ();
		[Version (since = "1.3.2")]
		public unowned GLib.GenericArray<string> get_issues ();
		[Version (since = "0.9.3")]
		public unowned string get_license ();
		[Version (since = "1.5.6")]
		public unowned GLib.GenericArray<string> get_locations ();
		[Version (since = "1.0.4")]
		public unowned GLib.HashTable<void*,void*> get_metadata ();
		[Version (since = "1.0.4")]
		public unowned string get_metadata_item (string key);
		[Version (since = "0.9.3")]
		public unowned string get_name ();
		[Version (since = "1.3.2")]
		public unowned string get_name_variant_suffix ();
		[Version (since = "1.2.2")]
		public unowned string get_protocol ();
		[Version (since = "0.9.3")]
		public unowned string get_remote_id ();
		[Version (since = "1.8.8")]
		public unowned GLib.GenericArray<Fwupd.Report> get_reports ();
		[Version (since = "2.0.7")]
		public unowned string get_sbom_url ();
		[Version (since = "0.9.3")]
		public uint64 get_size ();
		[Version (since = "1.2.4")]
		public unowned string get_source_url ();
		[Version (since = "0.9.3")]
		public unowned string get_summary ();
		[Version (since = "1.7.3")]
		public unowned GLib.GenericArray<string> get_tags ();
		[Version (since = "1.4.5")]
		public unowned string get_update_image ();
		[Version (since = "1.2.4")]
		public unowned string get_update_message ();
		[Version (since = "1.4.0")]
		public Fwupd.ReleaseUrgency get_urgency ();
		[Version (since = "0.9.3")]
		public unowned string get_vendor ();
		[Version (since = "0.9.3")]
		public unowned string get_version ();
		[Version (since = "1.2.7")]
		public bool has_category (string category);
		[Version (since = "1.2.6")]
		public bool has_checksum (string checksum);
		[Version (since = "1.2.6")]
		public bool has_flag (Fwupd.ReleaseFlags flag);
		[Version (since = "1.7.3")]
		public bool has_tag (string tag);
		[Version (since = "1.9.3")]
		public bool match_flags (Fwupd.ReleaseFlags include, Fwupd.ReleaseFlags exclude);
		[Version (since = "1.2.6")]
		public void remove_flag (Fwupd.ReleaseFlags flag);
		[Version (since = "0.9.3")]
		public void set_appstream_id (string? appstream_id);
		[Version (since = "1.5.0")]
		public void set_branch (string? branch);
		[Version (since = "1.4.0")]
		public void set_created (uint64 created);
		[Version (since = "0.9.3")]
		public void set_description (string? description);
		[Version (since = "1.3.3")]
		public void set_detach_caption (string? detach_caption);
		[Version (since = "1.3.3")]
		public void set_detach_image (string? detach_image);
		[Version (since = "1.2.4")]
		public void set_details_url (string? details_url);
		[Version (since = "0.9.3")]
		public void set_filename (string? filename);
		[Version (since = "1.2.6")]
		public void set_flags (Fwupd.ReleaseFlags flags);
		[Version (since = "0.9.3")]
		public void set_homepage (string? homepage);
		[Version (since = "1.7.2")]
		public void set_id (string? id);
		[Version (since = "1.2.1")]
		public void set_install_duration (uint32 duration);
		[Version (since = "0.9.3")]
		public void set_license (string? license);
		[Version (since = "0.9.3")]
		public void set_name (string? name);
		[Version (since = "1.3.2")]
		public void set_name_variant_suffix (string? name_variant_suffix);
		[Version (since = "1.2.2")]
		public void set_protocol (string? protocol);
		[Version (since = "0.9.3")]
		public void set_remote_id (string remote_id);
		[Version (since = "2.0.7")]
		public void set_sbom_url (string? sbom_url);
		[Version (since = "0.9.3")]
		public void set_size (uint64 size);
		[Version (since = "1.2.4")]
		public void set_source_url (string? source_url);
		[Version (since = "0.9.3")]
		public void set_summary (string? summary);
		[Version (since = "1.4.5")]
		public void set_update_image (string? update_image);
		[Version (since = "1.2.4")]
		public void set_update_message (string? update_message);
		[Version (since = "1.4.0")]
		public void set_urgency (Fwupd.ReleaseUrgency urgency);
		[Version (since = "0.9.3")]
		public void set_vendor (string? vendor);
		[Version (since = "0.9.3")]
		public void set_version (string? version);
		[Version (since = "1.4.0")]
		public static Fwupd.ReleaseUrgency urgency_from_string (string? val);
		[Version (since = "1.4.0")]
		public static unowned string urgency_to_string (Fwupd.ReleaseUrgency val);
		[Version (since = "1.8.0")]
		public string remote_id { get; set; }
	}
	[CCode (cheader_filename = "fwupd.h", type_id = "fwupd_remote_get_type ()")]
	public class Remote : GLib.Object, Fwupd.Codec {
		[CCode (has_construct_function = false)]
		[Version (since = "0.9.3")]
		public Remote ();
		[Version (since = "1.9.4")]
		public void add_flag (Fwupd.RemoteFlags flag);
		[Version (since = "0.9.7")]
		public string build_firmware_uri (string url) throws GLib.Error;
		[Version (since = "1.9.8")]
		public string build_metadata_sig_uri () throws GLib.Error;
		[Version (since = "1.9.8")]
		public string build_metadata_uri () throws GLib.Error;
		[Version (since = "1.9.1")]
		public string build_report_uri () throws GLib.Error;
		[Version (since = "2.0.17")]
		public bool ensure_checksum_sig () throws GLib.Error;
		[Version (since = "2.0.17")]
		public bool ensure_mtime () throws GLib.Error;
		[Version (since = "1.9.4")]
		public static Fwupd.RemoteFlags flag_from_string (string? val);
		[Version (since = "1.9.4")]
		public static unowned string flag_to_string (Fwupd.RemoteFlags val);
		[Version (since = "0.9.5")]
		public uint64 get_age ();
		[Version (since = "1.0.7")]
		public unowned string get_agreement ();
		[Version (since = "1.0.0")]
		public unowned string get_checksum ();
		[Version (since = "1.9.4")]
		public unowned string get_checksum_metadata ();
		[Version (since = "0.9.6")]
		public unowned string get_filename_cache ();
		[Version (since = "0.9.7")]
		public unowned string get_filename_cache_sig ();
		[Version (since = "0.9.8")]
		public unowned string get_filename_source ();
		[Version (since = "2.0.2")]
		public unowned string get_firmware_base_uri ();
		[Version (since = "1.9.4")]
		public Fwupd.RemoteFlags get_flags ();
		[Version (since = "0.9.3")]
		public unowned string get_id ();
		[Version (since = "0.9.6")]
		public Fwupd.RemoteKind get_kind ();
		[Version (since = "0.9.7")]
		public unowned string get_metadata_uri ();
		[Version (since = "0.9.7")]
		public unowned string get_metadata_uri_sig ();
		[Version (since = "2.0.17")]
		public uint64 get_mtime ();
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (since = "0.9.5")]
		public unowned string[] get_order_after ();
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (since = "0.9.5")]
		public unowned string[] get_order_before ();
		[Version (since = "0.9.5")]
		public unowned string get_password ();
		[Version (since = "0.9.5")]
		public int get_priority ();
		[Version (since = "2.0.0")]
		public unowned string get_privacy_uri ();
		[Version (since = "1.9.4")]
		public uint64 get_refresh_interval ();
		[Version (since = "1.3.1")]
		public unowned string get_remotes_dir ();
		[Version (since = "1.0.4")]
		public unowned string get_report_uri ();
		[Version (since = "0.9.8")]
		public unowned string get_title ();
		[Version (since = "0.9.5")]
		public unowned string get_username ();
		[Version (since = "1.9.4")]
		public bool has_flag (Fwupd.RemoteFlags flag);
		[Version (since = "0.9.6")]
		public static Fwupd.RemoteKind kind_from_string (string? val);
		[Version (since = "0.9.6")]
		public static unowned string kind_to_string (Fwupd.RemoteKind val);
		[Version (since = "1.4.0")]
		public bool load_signature (string filename) throws GLib.Error;
		[Version (since = "1.4.5")]
		public bool load_signature_bytes (GLib.Bytes bytes) throws GLib.Error;
		[Version (since = "1.9.4")]
		public bool needs_refresh ();
		[Version (since = "1.9.4")]
		public void remove_flag (Fwupd.RemoteFlags flag);
		[Version (since = "1.0.7")]
		public void set_agreement (string? agreement);
		[Version (since = "2.0.0")]
		public void set_checksum_sig (string? checksum_sig);
		[Version (since = "1.8.2")]
		public void set_filename_cache (string? filename);
		[Version (since = "1.6.1")]
		public void set_filename_source (string? filename_source);
		[Version (since = "2.0.2")]
		public void set_firmware_base_uri (string? firmware_base_uri);
		[Version (since = "1.9.4")]
		public void set_flags (Fwupd.RemoteFlags flags);
		[Version (since = "1.9.3")]
		public void set_id (string? id);
		[Version (since = "2.0.0")]
		public void set_kind (Fwupd.RemoteKind kind);
		[Version (since = "1.8.13")]
		public void set_metadata_uri (string? metadata_uri);
		[Version (since = "0.9.5")]
		public void set_mtime (uint64 mtime);
		[Version (since = "2.0.0")]
		public void set_order_after (string? ids);
		[Version (since = "2.0.0")]
		public void set_order_before (string? ids);
		[Version (since = "2.0.0")]
		public void set_password (string? password);
		[Version (since = "0.9.5")]
		public void set_priority (int priority);
		[Version (since = "2.0.0")]
		public void set_privacy_uri (string? privacy_uri);
		[Version (since = "2.0.0")]
		public void set_refresh_interval (uint64 refresh_interval);
		[Version (since = "1.3.1")]
		public void set_remotes_dir (string? directory);
		[Version (since = "2.0.0")]
		public void set_report_uri (string? report_uri);
		[Version (since = "1.8.13")]
		public void set_title (string? title);
		[Version (since = "2.0.0")]
		public void set_username (string? username);
		[Version (since = "1.6.1")]
		public bool setup () throws GLib.Error;
		[NoAccessorMethod]
		[Version (since = "1.2.6")]
		public bool approval_required { get; set; }
		[NoAccessorMethod]
		[Version (since = "1.3.3")]
		public bool automatic_reports { get; set; }
		[NoAccessorMethod]
		[Version (since = "1.5.0")]
		public bool automatic_security_reports { get; set; }
		[NoAccessorMethod]
		[Version (since = "0.9.3")]
		public bool enabled { get; set; }
		[Version (since = "1.9.4")]
		public uint64 flags { get; set; }
		[Version (since = "0.9.3")]
		public string id { get; set; }
	}
	[CCode (cheader_filename = "fwupd.h", type_id = "fwupd_report_get_type ()")]
	public class Report : GLib.Object, Fwupd.Codec {
		[CCode (has_construct_function = false)]
		[Version (since = "1.8.8")]
		public Report ();
		[Version (since = "1.9.1")]
		public void add_flag (Fwupd.ReportFlags flag);
		[Version (since = "1.8.8")]
		public void add_metadata_item (string key, string value);
		[Version (since = "1.9.1")]
		public static Fwupd.ReportFlags flag_from_string (string? val);
		[Version (since = "1.9.1")]
		public static unowned string flag_to_string (Fwupd.ReportFlags val);
		[Version (since = "1.8.8")]
		public uint64 get_created ();
		[Version (since = "1.8.8")]
		public unowned string get_device_name ();
		[Version (since = "1.8.8")]
		public unowned string get_distro_id ();
		[Version (since = "1.8.8")]
		public unowned string get_distro_variant ();
		[Version (since = "1.8.8")]
		public unowned string get_distro_version ();
		[Version (since = "1.9.1")]
		public uint64 get_flags ();
		[Version (since = "1.8.8")]
		public unowned GLib.HashTable<void*,void*> get_metadata ();
		[Version (since = "1.8.8")]
		public unowned string get_metadata_item (string key);
		[Version (since = "1.9.3")]
		public unowned string get_remote_id ();
		[Version (since = "1.8.8")]
		public unowned string get_vendor ();
		[Version (since = "1.8.8")]
		public uint32 get_vendor_id ();
		[Version (since = "1.8.8")]
		public unowned string get_version_old ();
		[Version (since = "1.9.1")]
		public bool has_flag (Fwupd.ReportFlags flag);
		[Version (since = "1.9.1")]
		public void remove_flag (Fwupd.ReportFlags flag);
		[Version (since = "1.8.8")]
		public void set_created (uint64 created);
		[Version (since = "1.8.8")]
		public void set_device_name (string? device_name);
		[Version (since = "1.8.8")]
		public void set_distro_id (string? distro_id);
		[Version (since = "1.8.8")]
		public void set_distro_variant (string? distro_variant);
		[Version (since = "1.8.8")]
		public void set_distro_version (string? distro_version);
		[Version (since = "1.9.1")]
		public void set_flags (uint64 flags);
		[Version (since = "1.9.3")]
		public void set_remote_id (string? remote_id);
		[Version (since = "1.8.8")]
		public void set_vendor (string? vendor);
		[Version (since = "1.8.8")]
		public void set_vendor_id (uint32 vendor_id);
		[Version (since = "1.8.8")]
		public void set_version_old (string? version_old);
		[Version (since = "1.9.1")]
		public uint64 flags { get; set; }
	}
	[CCode (cheader_filename = "fwupd.h", type_id = "fwupd_request_get_type ()")]
	public class Request : GLib.Object, Fwupd.Codec {
		[CCode (has_construct_function = false)]
		[Version (since = "1.6.2")]
		public Request ();
		[Version (since = "1.8.6")]
		public void add_flag (Fwupd.RequestFlags flag);
		[Version (since = "1.9.17")]
		public void emit_invalidate ();
		[Version (since = "1.8.6")]
		public static Fwupd.RequestFlags flag_from_string (string? val);
		[Version (since = "1.8.6")]
		public static unowned string flag_to_string (Fwupd.RequestFlags val);
		[Version (since = "1.6.2")]
		public uint64 get_created ();
		[Version (since = "1.6.2")]
		public unowned string get_device_id ();
		[Version (since = "1.8.6")]
		public Fwupd.RequestFlags get_flags ();
		[Version (since = "1.6.2")]
		public unowned string get_id ();
		[Version (since = "1.6.2")]
		public unowned string get_image ();
		[Version (since = "1.6.2")]
		public Fwupd.RequestKind get_kind ();
		[Version (since = "1.6.2")]
		public unowned string get_message ();
		[Version (since = "1.8.6")]
		public bool has_flag (Fwupd.RequestFlags flag);
		[Version (since = "1.6.2")]
		public static Fwupd.RequestKind kind_from_string (string? val);
		[Version (since = "1.6.2")]
		public static unowned string kind_to_string (Fwupd.RequestKind val);
		[Version (since = "1.8.6")]
		public void remove_flag (Fwupd.RequestFlags flag);
		[Version (since = "1.6.2")]
		public void set_created (uint64 created);
		[Version (since = "1.6.2")]
		public void set_device_id (string? device_id);
		[Version (since = "1.8.6")]
		public void set_flags (Fwupd.RequestFlags flags);
		[Version (since = "1.6.2")]
		public void set_id (string? id);
		[Version (since = "1.6.2")]
		public void set_image (string? image);
		[Version (since = "1.6.2")]
		public void set_kind (Fwupd.RequestKind kind);
		[Version (since = "1.6.2")]
		public void set_message (string? message);
		[Version (since = "1.8.2")]
		public string device_id { get; set; }
		[Version (since = "1.8.6")]
		public uint64 flags { get; set; }
		[Version (since = "1.6.2")]
		public string id { get; set; }
		[Version (since = "1.6.2")]
		public string image { get; set; }
		[Version (since = "1.6.2")]
		public uint kind { get; set; }
		[Version (since = "1.6.2")]
		public string message { get; set; }
		[Version (since = "1.9.17")]
		public virtual signal void invalidate ();
	}
	[CCode (cheader_filename = "fwupd.h", type_id = "fwupd_security_attr_get_type ()")]
	public class SecurityAttr : GLib.Object, Fwupd.Codec {
		[CCode (has_construct_function = false)]
		[Version (since = "1.5.0")]
		public SecurityAttr (string? appstream_id);
		[Version (since = "1.5.0")]
		public void add_flag (Fwupd.SecurityAttrFlags flag);
		[Version (since = "1.7.0")]
		public void add_guid (string guid);
		[Version (since = "1.7.0")]
		public void add_guids (GLib.GenericArray<string> guids);
		[Version (since = "1.5.0")]
		public void add_metadata (string key, string? value);
		[Version (since = "1.5.0")]
		public void add_obsolete (string appstream_id);
		[Version (since = "1.7.1")]
		public Fwupd.SecurityAttr copy ();
		[Version (since = "1.7.1")]
		public static Fwupd.SecurityAttrFlags flag_from_string (string? flag);
		[Version (since = "1.5.0")]
		public static unowned string flag_to_string (Fwupd.SecurityAttrFlags flag);
		[Version (since = "1.5.0")]
		public static unowned string flag_to_suffix (Fwupd.SecurityAttrFlags flag);
		[Version (since = "1.5.0")]
		public unowned string get_appstream_id ();
		[Version (since = "1.8.4")]
		public unowned string get_bios_setting_current_value ();
		[Version (since = "1.8.4")]
		public unowned string get_bios_setting_id ();
		[Version (since = "1.8.4")]
		public unowned string get_bios_setting_target_value ();
		[Version (since = "1.7.1")]
		public uint64 get_created ();
		[Version (since = "1.8.2")]
		public unowned string get_description ();
		[Version (since = "1.5.0")]
		public Fwupd.SecurityAttrFlags get_flags ();
		[Version (since = "2.0.7")]
		public unowned string get_fwupd_version ();
		[Version (since = "1.7.0")]
		public unowned GLib.GenericArray<string> get_guids ();
		[Version (since = "1.9.6")]
		public unowned string get_kernel_current_value ();
		[Version (since = "1.9.6")]
		public unowned string get_kernel_target_value ();
		[Version (since = "1.5.0")]
		public Fwupd.SecurityAttrLevel get_level ();
		[Version (since = "1.5.0")]
		public unowned string? get_metadata (string key);
		[Version (since = "1.5.0")]
		public unowned string get_name ();
		[Version (since = "1.5.0")]
		public unowned GLib.GenericArray<string> get_obsoletes ();
		[Version (since = "1.5.0")]
		public unowned string get_plugin ();
		[Version (since = "1.5.0")]
		public Fwupd.SecurityAttrResult get_result ();
		[Version (since = "1.7.1")]
		public Fwupd.SecurityAttrResult get_result_fallback ();
		[Version (since = "1.9.3")]
		public Fwupd.SecurityAttrResult get_result_success ();
		[Version (since = "1.8.2")]
		public unowned string get_title ();
		[Version (since = "1.5.0")]
		public unowned string get_url ();
		[Version (since = "1.5.0")]
		public bool has_flag (Fwupd.SecurityAttrFlags flag);
		[Version (since = "1.7.0")]
		public bool has_guid (string guid);
		[Version (since = "1.5.0")]
		public bool has_obsolete (string appstream_id);
		[Version (since = "1.8.3")]
		public void remove_flag (Fwupd.SecurityAttrFlags flag);
		[Version (since = "1.7.1")]
		public static Fwupd.SecurityAttrResult result_from_string (string? result);
		[Version (since = "1.5.0")]
		public static unowned string result_to_string (Fwupd.SecurityAttrResult result);
		[Version (since = "1.5.0")]
		public void set_appstream_id (string? appstream_id);
		[Version (since = "1.8.4")]
		public void set_bios_setting_current_value (string? value);
		[Version (since = "1.8.4")]
		public void set_bios_setting_id (string? id);
		[Version (since = "1.8.4")]
		public void set_bios_setting_target_value (string? value);
		[Version (since = "1.7.1")]
		public void set_created (uint64 created);
		[Version (since = "1.8.2")]
		public void set_description (string? description);
		[Version (since = "1.5.0")]
		public void set_flags (Fwupd.SecurityAttrFlags flags);
		[Version (since = "2.0.7")]
		public void set_fwupd_version (string? fwupd_version);
		[Version (since = "1.9.6")]
		public void set_kernel_current_value (string? value);
		[Version (since = "1.9.6")]
		public void set_kernel_target_value (string? value);
		[Version (since = "1.5.0")]
		public void set_level (Fwupd.SecurityAttrLevel level);
		[Version (since = "1.5.0")]
		public void set_name (string? name);
		[Version (since = "1.5.0")]
		public void set_plugin (string? plugin);
		[Version (since = "1.5.0")]
		public void set_result (Fwupd.SecurityAttrResult result);
		[Version (since = "1.7.1")]
		public void set_result_fallback (Fwupd.SecurityAttrResult result);
		[Version (since = "1.9.3")]
		public void set_result_success (Fwupd.SecurityAttrResult result);
		[Version (since = "1.8.2")]
		public void set_title (string? title);
		[Version (since = "1.5.0")]
		public void set_url (string? url);
	}
	[CCode (cheader_filename = "fwupd.h", type_cname = "FwupdCodecInterface", type_id = "fwupd_codec_get_type ()")]
	public interface Codec : GLib.Object {
		[NoWrapper]
		public abstract void add_json (Fwupd.JsonObject json_obj, Fwupd.CodecFlags flags);
		[Version (since = "2.0.0")]
		public abstract void add_string (uint idt, GLib.StringBuilder str);
		[NoWrapper]
		public abstract void add_variant (GLib.VariantBuilder builder, Fwupd.CodecFlags flags);
		[Version (since = "2.0.0")]
		public static GLib.GenericArray<weak GLib.Object> array_from_variant (GLib.Variant value, GLib.Type gtype) throws GLib.Error;
		[Version (since = "2.0.0")]
		public static void array_to_json (GLib.GenericArray<GLib.Object> array, string member_name, Fwupd.JsonObject json_obj, Fwupd.CodecFlags flags);
		[Version (since = "2.0.0")]
		public static GLib.Variant array_to_variant (GLib.GenericArray<GLib.Object> array, Fwupd.CodecFlags flags);
		[Version (since = "2.0.0")]
		public abstract bool from_json (Fwupd.JsonObject json_obj) throws GLib.Error;
		[Version (since = "2.0.0")]
		public bool from_json_string (string json) throws GLib.Error;
		[Version (since = "2.0.0")]
		public abstract bool from_variant (GLib.Variant value) throws GLib.Error;
		[Version (deprecated = true, deprecated_since = "2.1.1", since = "2.0.0")]
		public static void json_append (Fwupd.JsonObject json_obj, string key, string value);
		[Version (deprecated = true, deprecated_since = "2.1.1", since = "2.0.0")]
		public static void json_append_bool (Fwupd.JsonObject json_obj, string key, bool value);
		[Version (deprecated = true, deprecated_since = "2.1.1", since = "2.0.0")]
		public static void json_append_int (Fwupd.JsonObject json_obj, string key, uint64 value);
		[Version (deprecated = true, deprecated_since = "2.1.1", since = "2.0.10")]
		public static void json_append_map (Fwupd.JsonObject json_obj, string key, GLib.HashTable<string,string> value);
		[Version (deprecated = true, deprecated_since = "2.1.1", since = "2.0.0")]
		public static void json_append_strv (Fwupd.JsonObject json_obj, string key, string value);
		[Version (since = "2.0.0")]
		public static void string_append (GLib.StringBuilder str, uint idt, string key, string value);
		[Version (since = "2.0.0")]
		public static void string_append_bool (GLib.StringBuilder str, uint idt, string key, bool value);
		[Version (since = "2.0.0")]
		public static void string_append_hex (GLib.StringBuilder str, uint idt, string key, uint64 value);
		[Version (since = "2.0.0")]
		public static void string_append_int (GLib.StringBuilder str, uint idt, string key, uint64 value);
		[Version (since = "2.0.0")]
		public static void string_append_size (GLib.StringBuilder str, uint idt, string key, uint64 value);
		[Version (since = "2.0.0")]
		public static void string_append_time (GLib.StringBuilder str, uint idt, string key, uint64 value);
		[Version (since = "2.0.0")]
		public void to_json (Fwupd.JsonObject json_obj, Fwupd.CodecFlags flags);
		[Version (since = "2.0.0")]
		public string to_json_string (Fwupd.CodecFlags flags) throws GLib.Error;
		[Version (since = "2.0.0")]
		public abstract string to_string ();
		[Version (since = "2.0.0")]
		public abstract GLib.Variant to_variant (Fwupd.CodecFlags flags);
	}
	[CCode (cheader_filename = "fwupd.h", cname = "fwupd_guid_t")]
	[SimpleType]
	public struct _guid_t : uint8 {
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_BIOS_SETTING_KIND_", has_type_id = false)]
	public enum BiosSettingKind {
		UNKNOWN,
		ENUMERATION,
		INTEGER,
		STRING
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_CLIENT_DOWNLOAD_FLAG_", has_type_id = false)]
	[Flags]
	public enum ClientDownloadFlags {
		NONE,
		ONLY_P2P
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_CLIENT_UPLOAD_FLAG_", has_type_id = false)]
	[Flags]
	public enum ClientUploadFlags {
		NONE,
		ALWAYS_MULTIPART
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_CODEC_FLAG_", has_type_id = false)]
	[Flags]
	public enum CodecFlags {
		NONE,
		TRUSTED,
		COMPRESSED,
		NO_TIMESTAMP
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_DEVICE_FLAG_", has_type_id = false)]
	[Flags]
	public enum DeviceFlags {
		NONE,
		INTERNAL,
		UPDATABLE,
		REQUIRE_AC,
		LOCKED,
		SUPPORTED,
		NEEDS_BOOTLOADER,
		NEEDS_REBOOT,
		REPORTED,
		NOTIFIED,
		IS_BOOTLOADER,
		WAIT_FOR_REPLUG,
		NEEDS_SHUTDOWN,
		ANOTHER_WRITE_REQUIRED,
		NEEDS_ACTIVATION,
		HISTORICAL,
		WILL_DISAPPEAR,
		CAN_VERIFY,
		CAN_VERIFY_IMAGE,
		DUAL_IMAGE,
		SELF_RECOVERY,
		USABLE_DURING_UPDATE,
		VERSION_CHECK_REQUIRED,
		INSTALL_ALL_RELEASES,
		UPDATABLE_HIDDEN,
		HAS_MULTIPLE_BRANCHES,
		BACKUP_BEFORE_INSTALL,
		WILDCARD_INSTALL,
		ONLY_VERSION_UPGRADE,
		UNREACHABLE,
		AFFECTS_FDE,
		END_OF_LIFE,
		SIGNED_PAYLOAD,
		UNSIGNED_PAYLOAD,
		EMULATED,
		EMULATION_TAG,
		ONLY_EXPLICIT_UPDATES,
		CAN_EMULATION_TAG,
		INSTALL_SKIP_VERSION_CHECK,
		UNKNOWN
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_DEVICE_PROBLEM_", has_type_id = false)]
	[Flags]
	public enum DeviceProblem {
		NONE,
		SYSTEM_POWER_TOO_LOW,
		UNREACHABLE,
		POWER_TOO_LOW,
		UPDATE_PENDING,
		REQUIRE_AC_POWER,
		LID_IS_CLOSED,
		IS_EMULATED,
		MISSING_LICENSE,
		SYSTEM_INHIBIT,
		UPDATE_IN_PROGRESS,
		IN_USE,
		DISPLAY_REQUIRED,
		LOWER_PRIORITY,
		INSECURE_PLATFORM,
		FIRMWARE_LOCKED,
		UNKNOWN
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_FEATURE_FLAG_", has_type_id = false)]
	[Flags]
	public enum FeatureFlags {
		NONE,
		CAN_REPORT,
		DETACH_ACTION,
		UPDATE_ACTION,
		SWITCH_BRANCH,
		REQUESTS,
		FDE_WARNING,
		COMMUNITY_TEXT,
		SHOW_PROBLEMS,
		ALLOW_AUTHENTICATION,
		REQUESTS_NON_GENERIC,
		UNKNOWN
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_GUID_FLAG_", has_type_id = false)]
	[Flags]
	public enum GuidFlags {
		[Version (since = "1.2.5")]
		NONE,
		[Version (since = "1.2.5")]
		NAMESPACE_MICROSOFT,
		[Version (since = "1.2.5")]
		MIXED_ENDIAN
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_INSTALL_FLAG_", has_type_id = false)]
	[Flags]
	public enum InstallFlags {
		NONE,
		ALLOW_REINSTALL,
		ALLOW_OLDER,
		FORCE,
		NO_HISTORY,
		ALLOW_BRANCH_SWITCH,
		IGNORE_CHECKSUM,
		IGNORE_VID_PID,
		NO_SEARCH,
		IGNORE_REQUIREMENTS,
		ONLY_EMULATED,
		UNKNOWN;
		[Version (since = "2.0.4")]
		public static Fwupd.InstallFlags from_string (string? val);
		[Version (since = "2.0.0")]
		public unowned string to_string ();
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_JCAT_BLOB_FLAG_", has_type_id = false)]
	[Flags]
	public enum JcatBlobFlags {
		NONE,
		IS_UTF8
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_JCAT_BLOB_KIND_", has_type_id = false)]
	public enum JcatBlobKind {
		UNKNOWN,
		SHA256,
		GPG,
		PKCS7,
		SHA1,
		BT_MANIFEST,
		BT_CHECKPOINT,
		BT_INCLUSION_PROOF,
		BT_VERIFIER,
		ED25519,
		SHA512,
		BT_LOGINDEX
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_JCAT_BLOB_METHOD_", has_type_id = false)]
	public enum JcatBlobMethod {
		UNKNOWN,
		CHECKSUM,
		SIGNATURE
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_JSON_EXPORT_FLAG_", has_type_id = false)]
	[Flags]
	public enum JsonExportFlags {
		NONE,
		INDENT,
		TRAILING_NEWLINE
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_JSON_LOAD_FLAG_", has_type_id = false)]
	[Flags]
	public enum JsonLoadFlags {
		NONE,
		TRUSTED,
		STATIC_KEYS
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_JSON_NODE_KIND_", has_type_id = false)]
	public enum JsonNodeKind {
		NULL,
		RAW,
		STRING,
		ARRAY,
		OBJECT;
		[Version (replacement = "JsonNode.kind_to_string", since = "2.1.1")]
		public unowned string to_string ();
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_PLUGIN_FLAG_", has_type_id = false)]
	[Flags]
	public enum PluginFlags {
		NONE,
		DISABLED,
		USER_WARNING,
		CLEAR_UPDATABLE,
		NO_HARDWARE,
		CAPSULES_UNSUPPORTED,
		UNLOCK_REQUIRED,
		EFIVAR_NOT_MOUNTED,
		ESP_NOT_FOUND,
		LEGACY_BIOS,
		FAILED_OPEN,
		REQUIRE_HWID,
		KERNEL_TOO_OLD,
		AUTH_REQUIRED,
		SECURE_CONFIG,
		MODULAR,
		MEASURE_SYSTEM_INTEGRITY,
		ESP_NOT_VALID,
		READY,
		TEST_ONLY,
		MUTABLE_ENUMERATION,
		UNKNOWN
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_RELEASE_FLAG_", has_type_id = false)]
	[Flags]
	public enum ReleaseFlags {
		NONE,
		TRUSTED_PAYLOAD,
		TRUSTED_METADATA,
		IS_UPGRADE,
		IS_DOWNGRADE,
		BLOCKED_VERSION,
		BLOCKED_APPROVAL,
		IS_ALTERNATE_BRANCH,
		IS_COMMUNITY,
		TRUSTED_REPORT,
		UNKNOWN
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_RELEASE_URGENCY_", has_type_id = false)]
	public enum ReleaseUrgency {
		UNKNOWN,
		LOW,
		MEDIUM,
		HIGH,
		CRITICAL
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_REMOTE_FLAG_", has_type_id = false)]
	[Flags]
	public enum RemoteFlags {
		NONE,
		ENABLED,
		APPROVAL_REQUIRED,
		AUTOMATIC_REPORTS,
		AUTOMATIC_SECURITY_REPORTS,
		ALLOW_P2P_METADATA,
		ALLOW_P2P_FIRMWARE,
		NO_PHASED_UPDATES
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_REMOTE_KIND_", has_type_id = false)]
	public enum RemoteKind {
		UNKNOWN,
		DOWNLOAD,
		LOCAL,
		DIRECTORY
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_REPORT_FLAG_", has_type_id = false)]
	[Flags]
	public enum ReportFlags {
		NONE,
		FROM_OEM,
		IS_UPGRADE,
		UNKNOWN
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_REQUEST_FLAG_", has_type_id = false)]
	[Flags]
	public enum RequestFlags {
		NONE,
		ALLOW_GENERIC_MESSAGE,
		ALLOW_GENERIC_IMAGE,
		NON_GENERIC_MESSAGE,
		NON_GENERIC_IMAGE,
		UNKNOWN
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_REQUEST_KIND_", has_type_id = false)]
	public enum RequestKind {
		UNKNOWN,
		POST,
		IMMEDIATE
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_SECURITY_ATTR_FLAG_", has_type_id = false)]
	[Flags]
	public enum SecurityAttrFlags {
		NONE,
		SUCCESS,
		OBSOLETED,
		MISSING_DATA,
		RUNTIME_UPDATES,
		RUNTIME_ATTESTATION,
		RUNTIME_ISSUE,
		ACTION_CONTACT_OEM,
		ACTION_CONFIG_FW,
		ACTION_CONFIG_OS,
		CAN_FIX,
		CAN_UNDO
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_SECURITY_ATTR_LEVEL_", has_type_id = false)]
	public enum SecurityAttrLevel {
		NONE,
		CRITICAL,
		IMPORTANT,
		THEORETICAL,
		SYSTEM_PROTECTION,
		SYSTEM_ATTESTATION
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_SECURITY_ATTR_RESULT_", has_type_id = false)]
	public enum SecurityAttrResult {
		UNKNOWN,
		ENABLED,
		NOT_ENABLED,
		VALID,
		NOT_VALID,
		LOCKED,
		NOT_LOCKED,
		ENCRYPTED,
		NOT_ENCRYPTED,
		TAINTED,
		NOT_TAINTED,
		FOUND,
		NOT_FOUND,
		SUPPORTED,
		NOT_SUPPORTED
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_SELF_SIGN_FLAG_", has_type_id = false)]
	[Flags]
	public enum SelfSignFlags {
		NONE,
		ADD_TIMESTAMP,
		ADD_CERT,
		UNKNOWN
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_STATUS_", has_type_id = false)]
	public enum Status {
		UNKNOWN,
		IDLE,
		LOADING,
		DECOMPRESSING,
		DEVICE_RESTART,
		DEVICE_WRITE,
		DEVICE_VERIFY,
		SCHEDULING,
		DOWNLOADING,
		DEVICE_READ,
		DEVICE_ERASE,
		WAITING_FOR_AUTH,
		DEVICE_BUSY,
		SHUTDOWN,
		WAITING_FOR_USER;
		[Version (since = "0.1.1")]
		public static Fwupd.Status from_string (string? val);
		[Version (since = "0.1.1")]
		public unowned string to_string ();
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_UPDATE_STATE_", has_type_id = false)]
	public enum UpdateState {
		UNKNOWN,
		PENDING,
		SUCCESS,
		FAILED,
		NEEDS_REBOOT,
		FAILED_TRANSIENT;
		[Version (since = "0.7.0")]
		public static Fwupd.UpdateState from_string (string? val);
		[Version (since = "0.7.0")]
		public unowned string to_string ();
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_VERSION_FORMAT_", has_type_id = false)]
	public enum VersionFormat {
		UNKNOWN,
		PLAIN,
		NUMBER,
		PAIR,
		TRIPLET,
		QUAD,
		BCD,
		INTEL_ME,
		INTEL_ME2,
		SURFACE_LEGACY,
		SURFACE,
		DELL_BIOS,
		HEX,
		DELL_BIOS_MSB,
		INTEL_CSME19;
		[Version (since = "1.2.9")]
		public static Fwupd.VersionFormat from_string (string? val);
		[Version (since = "1.2.9")]
		public unowned string to_string ();
	}
	[CCode (cheader_filename = "fwupd.h", cprefix = "FWUPD_ERROR_", has_type_id = false)]
	public errordomain Error {
		INTERNAL,
		VERSION_NEWER,
		VERSION_SAME,
		ALREADY_PENDING,
		AUTH_FAILED,
		READ,
		WRITE,
		INVALID_FILE,
		NOT_FOUND,
		NOTHING_TO_DO,
		NOT_SUPPORTED,
		SIGNATURE_INVALID,
		AC_POWER_REQUIRED,
		PERMISSION_DENIED,
		BROKEN_SYSTEM,
		BATTERY_LEVEL_TOO_LOW,
		NEEDS_USER_ACTION,
		AUTH_EXPIRED,
		INVALID_DATA,
		TIMED_OUT,
		BUSY,
		NOT_REACHABLE;
		[Version (since = "2.0.0")]
		public static void convert () throws GLib.Error;
		[Version (since = "0.7.0")]
		public static unowned Fwupd.Error from_string (string? error);
		[Version (since = "0.1.1")]
		public static GLib.Quark quark ();
		[Version (since = "0.7.0")]
		public unowned string to_string ();
	}
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_BATTERY_LEVEL_INVALID")]
	public const int BATTERY_LEVEL_INVALID;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_BIOS_SETTING_DEBUG_CMD")]
	public const string BIOS_SETTING_DEBUG_CMD;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_BIOS_SETTING_KIND_LAST")]
	public const int BIOS_SETTING_KIND_LAST;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_BIOS_SETTING_PENDING_REBOOT")]
	public const string BIOS_SETTING_PENDING_REBOOT;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_BIOS_SETTING_RESET_BIOS")]
	public const string BIOS_SETTING_RESET_BIOS;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_BIOS_SETTING_SELF_TEST")]
	public const string BIOS_SETTING_SELF_TEST;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_DBUS_INTERFACE")]
	public const string DBUS_INTERFACE;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_DBUS_PATH")]
	public const string DBUS_PATH;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_DBUS_SERVICE")]
	public const string DBUS_SERVICE;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_DEVICE_ID_ANY")]
	public const string DEVICE_ID_ANY;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_ERROR_LAST")]
	public const int ERROR_LAST;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_JCAT_BLOB_KIND_LAST")]
	public const int JCAT_BLOB_KIND_LAST;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_JCAT_BLOB_METHOD_LAST")]
	public const int JCAT_BLOB_METHOD_LAST;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_JSON_NODE_KIND_LAST")]
	public const int JSON_NODE_KIND_LAST;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_MAJOR_VERSION")]
	public const int MAJOR_VERSION;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_MICRO_VERSION")]
	public const int MICRO_VERSION;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_MINOR_VERSION")]
	public const int MINOR_VERSION;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_PERCENTAGE_UNKNOWN")]
	[Version (since = "2.1.3")]
	public const double PERCENTAGE_UNKNOWN;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_RELEASE_URGENCY_LAST")]
	public const int RELEASE_URGENCY_LAST;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_REMOTE_KIND_LAST")]
	public const int REMOTE_KIND_LAST;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_REQUEST_ID_DO_NOT_POWER_OFF")]
	public const string REQUEST_ID_DO_NOT_POWER_OFF;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_REQUEST_ID_INSERT_USB_CABLE")]
	public const string REQUEST_ID_INSERT_USB_CABLE;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_REQUEST_ID_PRESS_UNLOCK")]
	public const string REQUEST_ID_PRESS_UNLOCK;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_REQUEST_ID_REMOVE_REPLUG")]
	public const string REQUEST_ID_REMOVE_REPLUG;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_REQUEST_ID_REMOVE_USB_CABLE")]
	public const string REQUEST_ID_REMOVE_USB_CABLE;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_REQUEST_ID_REPLUG_INSTALL")]
	public const string REQUEST_ID_REPLUG_INSTALL;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_REQUEST_ID_REPLUG_POWER")]
	public const string REQUEST_ID_REPLUG_POWER;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_REQUEST_ID_RESTART_DAEMON")]
	public const string REQUEST_ID_RESTART_DAEMON;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_REQUEST_KIND_LAST")]
	public const int REQUEST_KIND_LAST;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_SECURITY_ATTR_LEVEL_LAST")]
	public const int SECURITY_ATTR_LEVEL_LAST;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_SECURITY_ATTR_RESULT_LAST")]
	public const int SECURITY_ATTR_RESULT_LAST;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_STATUS_LAST")]
	public const int STATUS_LAST;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_UPDATE_STATE_LAST")]
	public const int UPDATE_STATE_LAST;
	[CCode (cheader_filename = "fwupd.h", cname = "FWUPD_VERSION_FORMAT_LAST")]
	public const int VERSION_FORMAT_LAST;
	[CCode (cheader_filename = "fwupd.h")]
	[Version (since = "0.9.3")]
	public static string checksum_format_for_display (string? checksum);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (since = "0.9.4")]
	public static unowned string checksum_get_best (GLib.GenericArray<string> checksums);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (since = "0.9.4")]
	public static unowned string checksum_get_by_kind (GLib.GenericArray<string> checksums, GLib.ChecksumType kind);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (since = "0.9.3")]
	public static GLib.ChecksumType checksum_guess_kind (string? checksum);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (since = "1.9.6")]
	public static unowned string checksum_type_to_string_display (GLib.ChecksumType checksum_type);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (replacement = "Codec.array_from_variant", since = "2.0.0")]
	public static GLib.GenericArray<weak GLib.Object> codec_array_from_variant (GLib.Variant value, GLib.Type gtype) throws GLib.Error;
	[CCode (cheader_filename = "fwupd.h")]
	[Version (replacement = "Codec.array_to_json", since = "2.0.0")]
	public static void codec_array_to_json (GLib.GenericArray<GLib.Object> array, string member_name, Fwupd.JsonObject json_obj, Fwupd.CodecFlags flags);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (replacement = "Codec.array_to_variant", since = "2.0.0")]
	public static GLib.Variant codec_array_to_variant (GLib.GenericArray<GLib.Object> array, Fwupd.CodecFlags flags);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (deprecated = true, deprecated_since = "2.1.1", replacement = "Codec.json_append", since = "2.0.0")]
	public static void codec_json_append (Fwupd.JsonObject json_obj, string key, string value);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (deprecated = true, deprecated_since = "2.1.1", replacement = "Codec.json_append_bool", since = "2.0.0")]
	public static void codec_json_append_bool (Fwupd.JsonObject json_obj, string key, bool value);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (deprecated = true, deprecated_since = "2.1.1", replacement = "Codec.json_append_int", since = "2.0.0")]
	public static void codec_json_append_int (Fwupd.JsonObject json_obj, string key, uint64 value);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (deprecated = true, deprecated_since = "2.1.1", replacement = "Codec.json_append_map", since = "2.0.10")]
	public static void codec_json_append_map (Fwupd.JsonObject json_obj, string key, GLib.HashTable<string,string> value);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (deprecated = true, deprecated_since = "2.1.1", replacement = "Codec.json_append_strv", since = "2.0.0")]
	public static void codec_json_append_strv (Fwupd.JsonObject json_obj, string key, string value);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (replacement = "Codec.string_append", since = "2.0.0")]
	public static void codec_string_append (GLib.StringBuilder str, uint idt, string key, string value);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (replacement = "Codec.string_append_bool", since = "2.0.0")]
	public static void codec_string_append_bool (GLib.StringBuilder str, uint idt, string key, bool value);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (replacement = "Codec.string_append_hex", since = "2.0.0")]
	public static void codec_string_append_hex (GLib.StringBuilder str, uint idt, string key, uint64 value);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (replacement = "Codec.string_append_int", since = "2.0.0")]
	public static void codec_string_append_int (GLib.StringBuilder str, uint idt, string key, uint64 value);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (replacement = "Codec.string_append_size", since = "2.0.0")]
	public static void codec_string_append_size (GLib.StringBuilder str, uint idt, string key, uint64 value);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (replacement = "Codec.string_append_time", since = "2.0.0")]
	public static void codec_string_append_time (GLib.StringBuilder str, uint idt, string key, uint64 value);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (since = "1.4.5")]
	public static Fwupd.FeatureFlags feature_flag_from_string (string? val);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (since = "1.4.5")]
	public static unowned string feature_flag_to_string (Fwupd.FeatureFlags val);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (since = "1.2.5")]
	public static bool guid_from_string (string guidstr, uint8? guid, Fwupd.GuidFlags flags) throws GLib.Error;
	[CCode (cheader_filename = "fwupd.h")]
	[Version (since = "1.2.5")]
	public static string guid_hash_data (uint8 data, size_t datasz, Fwupd.GuidFlags flags);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (since = "1.2.5")]
	public static string guid_hash_string (string? str);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (since = "1.2.5")]
	public static bool guid_is_valid (string guid);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (since = "1.2.5")]
	public static string guid_to_string (uint8 guid, Fwupd.GuidFlags flags);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (since = "2.1.3")]
	public static bool percentage_delta_notify (double value_old, double value_new);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (since = "2.1.3")]
	public static bool percentage_is_valid (double value);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (since = "2.0.11")]
	public static unowned string strerror (int errnum);
	[CCode (cheader_filename = "fwupd.h")]
	[Version (since = "1.6.1")]
	public static unowned string version_string ();
}
