@wailsio/runtime
    Preparing search index...

    Variable EventsConst

    Events: Readonly<
        {
            CheckStarted: "wails:updater:check-started";
            DownloadComplete: "wails:updater:download-complete";
            DownloadProgress: "wails:updater:download-progress";
            DownloadStarted: "wails:updater:download-started";
            Error: "wails:updater:error";
            Installing: "wails:updater:installing";
            Meta: "wails:updater:meta";
            NoUpdate: "wails:updater:no-update";
            UpdateAvailable: "wails:updater:update-available";
            UpdateReady: "wails:updater:update-ready";
            User: Readonly<
                {
                    Cancel: "wails:updater:user:cancel";
                    Install: "wails:updater:user:install";
                    Remind: "wails:updater:user:remind";
                    Restart: "wails:updater:user:restart";
                    Skip: "wails:updater:user:skip";
                },
            >;
            Verifying: "wails:updater:verifying";
            Window: Readonly<{ Ready: "wails:updater:window:ready" }>;
        },
    > = ...

    Updater event name constants.

    Use these instead of hard-coding string literals when subscribing to updater events from JavaScript:

    import { Events, Updater } from "@wailsio/runtime";
    
    Events.On(Updater.Events.UpdateAvailable, (e) => {
        console.log("update found:", e.data.version);
    });
    
    Events.On(Updater.Events.DownloadProgress, (e) => {
        const p = e.data;
        console.log(`${p.written} / ${p.total} bytes`);
    });
    

    Mirrors the Go-side constants in pkg/updater/events.go and the user-action constants in pkg/updater/window_lifecycle.go. Any changes here must stay in sync with those files — there's an integration test that asserts the strings match.