/** * HDC 命令执行工具 */ export declare class HDC { private hdcPath; constructor(hdcPath?: string); /** * 执行 hdc shell 命令 * @param command 要执行的命令 * @returns 命令输出 */ shell(command: string): Promise; /** * 执行 hidumper 命令 * @param service 服务名称 * @param args 参数 * @returns 命令输出 */ hidumper(service: string, args: string): Promise; /** * 获取窗口列表 */ listWindows(): Promise; /** * 获取 UI 组件树 */ getUiTree(): Promise; /** * 获取应用列表 */ listAbilities(): Promise; /** * 截图 * @param remotePath 远程保存路径 * @param localPath 本地保存路径 */ screenshot(remotePath: string, localPath: string): Promise; } declare const _default: HDC; export default _default; //# sourceMappingURL=hdc.d.ts.map