Files
NapCatQQ/.pnpm-store/v3/files/07/779c73bcf54fc129ba7bd910ad81ec555f9a1493e51480246570e2c37ac9134bb70d554623c4682630a0f03bba1445486902b4753ee7260cfe494bcf6bc2f4
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

25 lines
612 B
Plaintext

export interface SystemStatus {
cpu: {
model: string;
speed: string;
usage: {
system: string;
qq: string;
};
core: number;
};
memory: {
total: string;
usage: {
system: string;
qq: string;
};
};
arch: string;
}
export interface IStatusHelperSubscription {
on(event: 'statusUpdate', listener: (status: SystemStatus) => void): this;
off(event: 'statusUpdate', listener: (status: SystemStatus) => void): this;
emit(event: 'statusUpdate', status: SystemStatus): boolean;
}