import type { ControlSystemStatus } from "@onebots/core/control"; interface DiskStats { bsize: number; blocks: number; bfree: number; bavail: number; } /** 系统 API 被宿主限制时,资源信息缺失不能使管理服务启动或状态查询失败。 */ export declare function createSafeSystemStatus(workspace: string): () => ControlSystemStatus | undefined; /** 按需刷新且合并并发采样;磁盘 IO 永远不阻塞管理状态接口。 */ export declare function createSystemStatus(workspace: string, readDisk?: (path: string) => Promise, now?: () => number): () => ControlSystemStatus; export {}; //# sourceMappingURL=system-status.d.ts.map