export interface WrkBinaryInfo { path: string; platform: string; arch: string; exists: boolean; version?: string; } /** * 获取当前平台的标识符 */ export declare function getPlatformIdentifier(): string; /** * 获取内置 wrk 二进制文件的路径 */ export declare function getBuiltinWrkPath(): string; /** * 获取系统安装的 wrk 路径(保留作为备用选项) */ export declare function getSystemWrkPath(): Promise; /** * 验证 wrk 二进制文件是否可用 */ export declare function validateWrkBinary(wrkPath: string): Promise; /** * 获取 wrk 版本信息 */ export declare function getWrkVersion(wrkPath: string): Promise; /** * 获取最佳的 wrk 二进制文件路径 * 优先级:用户指定 > 内置二进制 */ export declare function getBestWrkPath(userWrkPath?: string): Promise; /** * 检查是否需要下载 wrk 二进制文件 */ export declare function needsWrkDownload(): Promise; /** * 获取下载说明信息 */ export declare function getDownloadInstructions(): string; //# sourceMappingURL=wrk-binary.d.ts.map