import type { ExecOptions } from 'node:child_process'; export interface RunElevatedOptions extends ExecOptions { timeoutMs?: number; } /** * This API triggers UAC when necessary * * @param cmd - Command to execute * @param args - Command arguments * @param opts - Execution options including timeout * @returns Promise with stdout and stderr * @throws ExecException * * Notes: * - If the UAC prompt is cancelled by the user, Start-Process returns a non-zero exit code. */ export declare function runElevated(cmd: string, args?: string[], opts?: RunElevatedOptions): Promise<{ stdout: string; stderr: string; }>; /** * Downloads a file from a URL to a local path * * @param srcUrl - Source URL to download from * @param dstPath - Destination file path * @returns Promise that resolves when download is complete */ export declare function downloadToFile(srcUrl: string, dstPath: string): Promise; //# sourceMappingURL=app.d.ts.map