CSV line parser
Your task
Parse one line of RFC-4180-style CSV into a list of field strings. Fields are comma-separated. A field may be double-quoted; inside a quoted field, a comma is literal and a doubled quote ("") encodes a single quote character. Quoted fields may themselves be empty. Assume the input is a single well-formed record with no newlines. Return the list of decoded field values (quotes stripped, escapes resolved).
Examples
parse_csv_line(line: str) -> list[str]Example 1
Input
parse_csv_line("a,\"b,c\",d")Output
["a", "b,c", "d"]