/** * Decode the body of a $'...' word to the text it names. * * Follows bash 5.2 (lib/sh/strtrans.c, under a UTF-8 locale): simple * escapes, 1-3 octal digits with the value masked to a byte, \xHH * bytes, \u and \U values written through u32toutf8 (surrogates and * values past Unicode come out as raw UTF-8-shaped bytes), \cX control * characters (X of `?` is DEL, an escaped backslash counts as one * operand), and any other or incomplete escape kept verbatim, backslash * included. A NUL truncates the rest of this word segment, the C-string * behavior; the segment alone is cut, so `x$'a\0b'y` still expands to * `xay`. */ export declare function decodeAnsiC(content: string): string; export declare function unescapeUnquoted(text: string): string; export declare function unescapeDquoted(text: string): string; //# sourceMappingURL=escapes.d.ts.map