/** * Masks secrets in command line arguments (keystore passwords and lock screen credentials) * so the result is safe to log. * * @param args - The command line arguments * @returns A copy of the arguments with the secret values replaced */ export declare function redactSecrets(args: readonly string[]): string[]; /** * Masks secrets in the message and stack of an error thrown by `teen_process.exec`, * which embed the full command line. The error is modified in place. * * @param err - The caught error * @param cmd - The executable passed to `exec` * @param args - The arguments passed to `exec` * @returns The same error, so it can be rethrown as `throw redactExecError(...)` */ export declare function redactExecError(err: T, cmd: string, args: readonly string[]): T; //# sourceMappingURL=redact.d.ts.map