/** * Throw if `name` is not a safe ExifTool tag reference. * * Because exiftool is launched with `-stay_open True -@ -` and commands are * delimited by newlines, any `\n`, `\r`, `\0`, whitespace, or shell/exiftool * metacharacter inside a tag name would let a caller inject arbitrary * arguments into the exiftool process (e.g. `-o ../exploit`, `-p /etc/passwd`). * * This validator is applied at every site where a caller-supplied tag name is * interpolated into an exiftool argument. */ export declare function validateTagName(name: string, context?: string): void;