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

/**
 * FileService exposes native file dialogs and streams the current video.
 * @module
 */

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

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

export function OpenProject(): $CancellablePromise<string> {
    return $Call.ByID(2194602340);
}

export function OpenVideo(): $CancellablePromise<$models.VideoResult> {
    return $Call.ByID(392322154);
}

export function SaveAudio(dataBase64: string, defaultName: string): $CancellablePromise<void> {
    return $Call.ByID(1785178400, dataBase64, defaultName);
}

export function SaveProject(content: string, defaultName: string): $CancellablePromise<void> {
    return $Call.ByID(2685219959, content, defaultName);
}
