/**
 * Shared utilities for install/uninstall scripts.
 *
 * Used by preflight.ts and uninstall.ts to avoid duplicating helpers
 * for logging, running commands, and running PowerShell scripts.
 */
export type CmdResult = {
    ok: boolean;
    stdout: string;
    stderr: string;
};
export declare function ok(msg: string): void;
export declare function warn(msg: string): void;
export declare function header(step: string): void;
/** Run a command synchronously and return { ok, stdout, stderr }. */
export declare function run(cmd: string, options?: {
    timeout?: number;
}): CmdResult;
/** Run a PowerShell script via base64-encoded command. */
export declare function runPS(script: string, options?: {
    timeout?: number;
}): CmdResult;
/**
 * Escape a string for safe interpolation inside a PowerShell double-quoted string.
 * Handles: backtick, dollar sign, double quote, and null byte.
 */
export declare function escapePSString(value: string): string;
//# sourceMappingURL=install-utils.d.ts.map