Variable: detectDelimiterTool
ts
const detectDelimiterTool: Tool<SpooledArtifact>;Detect the most likely field delimiter in a CSV-like text sample.
Remarks
Tries comma, tab, semicolon, pipe, and colon. Scores each by mean field count divided by variance (so consistent row widths beat noisy splits). Looks at up to the first 20 lines of the first 5000 characters.