// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import {cpu} from '../models';
import {disk} from '../models';
import {net} from '../models';
import {system} from '../models';
import {mem} from '../models';

export function GetAllProcessPid():Promise<Array<number>>;

export function GetCpuInfo():Promise<Array<cpu.InfoStat>>;

export function GetCpuTimes():Promise<Array<cpu.TimesStat>>;

export function GetCpuUsage():Promise<Array<number>>;

export function GetCurrentPid():Promise<number>;

export function GetDiskPartitions():Promise<Array<disk.PartitionStat>>;

export function GetDiskUsage(arg1:string):Promise<disk.UsageStat>;

export function GetIOCounters():Promise<{[key: string]: disk.IOCountersStat}>;

export function GetNetWorkConnection():Promise<Array<net.ConnectionStat>>;

export function GetNetworkCounter(arg1:boolean):Promise<Array<net.IOCountersStat>>;

export function GetProcessInfo(arg1:number):Promise<system.ProcessDTO>;

export function GetProcesses():Promise<Array<system.ProcessDTO>>;

export function GetSwapMemory():Promise<mem.SwapMemoryStat>;

export function GetVirtualMemory():Promise<mem.VirtualMemoryStat>;

export function ScanDir(arg1:string):Promise<Array<system.FileEntry>>;
