async fn confirm_hooks_change<R: Runtime>( app: &AppHandle<R>, enabled: bool, hooks: &[Hook], ) -> bool