// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT

// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import {
  Call as $Call,
  CancellablePromise as $CancellablePromise,
  Create as $Create,
} from "@wailsio/runtime";

// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import * as updates$0 from "../../pkg/wails3kit/updates/models.js";

export function ApplyAndRestart(): $CancellablePromise<void> {
  return $Call.ByID(2468725628);
}

export function Check(): $CancellablePromise<updates$0.Snapshot> {
  return $Call.ByID(688929688).then(($result: any) => {
    return $$createType0($result);
  });
}

export function Download(): $CancellablePromise<updates$0.Snapshot> {
  return $Call.ByID(137313328).then(($result: any) => {
    return $$createType0($result);
  });
}

export function Snapshot(): $CancellablePromise<updates$0.Snapshot> {
  return $Call.ByID(270782772).then(($result: any) => {
    return $$createType0($result);
  });
}

// Private type creation functions
const $$createType0 = updates$0.Snapshot.createFrom;
