// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import {filesystem} from '../models';
import {main} from '../models';

export function CheckUpdate():Promise<Record<string, any>>;

export function ClearCache():Promise<void>;

export function CreateDir(arg1:string):Promise<filesystem.FileOperationResult>;

export function CreateFile(arg1:string):Promise<filesystem.FileOperationResult>;

export function DeletePath(arg1:string):Promise<filesystem.FileOperationResult>;

export function DeletePermanently(arg1:string):Promise<void>;

export function DetectFileTypeByContent(arg1:string):Promise<Record<string, any>>;

export function DownloadUpdate(arg1:string):Promise<Record<string, any>>;

export function EmptyRecycleBin():Promise<void>;

export function ExportPDF(arg1:string,arg2:string,arg3:string,arg4:number,arg5:number,arg6:number):Promise<Record<string, any>>;

export function ExtractFileFromZip(arg1:string,arg2:string):Promise<string>;

export function ExtractFileFromZipToTemp(arg1:string,arg2:string):Promise<string>;

export function GetAppConfig():Promise<Record<string, any>>;

export function GetAuditLogs(arg1:number):Promise<Array<Record<string, any>>>;

export function GetCPUInfo():Promise<Record<string, any>>;

export function GetCommonPaths():Promise<Record<string, string>>;

export function GetCurrentVersion():Promise<Record<string, any>>;

export function GetDiskInfo():Promise<Array<Record<string, any>>>;

export function GetEnvVars():Promise<Record<string, string>>;

export function GetFileInfo(arg1:string):Promise<Record<string, any>>;

export function GetFileServerURL():Promise<string>;

export function GetMemoryInfo():Promise<Record<string, any>>;

export function GetRecycleBinEntries():Promise<Array<Record<string, any>>>;

export function GetSystemInfo():Promise<Record<string, any>>;

export function GetUpdateConfig():Promise<Record<string, any>>;

export function GetZipFileInfo(arg1:string,arg2:string):Promise<Record<string, any>>;

export function InstallUpdate(arg1:string,arg2:boolean):Promise<Record<string, any>>;

export function InstallUpdateWithHash(arg1:string,arg2:boolean,arg3:string,arg4:string):Promise<Record<string, any>>;

export function ListDir(arg1:string):Promise<Array<Record<string, any>>>;

export function ListZipContents(arg1:string):Promise<Array<Record<string, any>>>;

export function OpenPath(arg1:string):Promise<void>;

export function ReadFile(arg1:string):Promise<string>;

export function Reload():Promise<void>;

export function RenamePath(arg1:main.RenamePathRequest):Promise<filesystem.FileOperationResult>;

export function ResolveShortcut(arg1:string):Promise<Record<string, any>>;

export function RestoreFromRecycleBin(arg1:string):Promise<void>;

export function SaveAppConfig(arg1:main.SaveAppConfigRequest):Promise<Record<string, any>>;

export function SaveBase64File(arg1:main.SaveBase64FileRequest):Promise<void>;

export function SelectPDFSaveDirectory():Promise<string>;

export function SetUpdateConfig(arg1:boolean,arg2:number,arg3:string):Promise<Record<string, any>>;

export function VerifyUpdateFile(arg1:string,arg2:string,arg3:string):Promise<Record<string, any>>;

export function WindowClose():Promise<void>;

export function WindowIsMaximized():Promise<boolean>;

export function WindowMaximize():Promise<void>;

export function WindowMinimize():Promise<void>;

export function WindowToggleAlwaysOnTop():Promise<boolean>;

export function WriteFile(arg1:main.WriteFileRequest):Promise<void>;
