import { Plugin, Config, Options, Lex } from 'jsonic'; type CsvOptions = { trim: boolean | null; comment: boolean | null; number: boolean | null; value: boolean | null; header: boolean; object: boolean; stream: null | ((what: string, record?: Record | Error) => void); strict: boolean; field: { separation: null | string; nonameprefix: string; empty: any; names: undefined | string[]; exact: boolean; }; record: { separators: null | string; empty: boolean; }; string: { quote: string; csv: null | boolean; }; }; declare const Csv: Plugin; declare function buildCsvStringMatcher(csvopts: CsvOptions): (cfg: Config, _opts: Options) => (lex: Lex) => import("jsonic").Token | undefined; export { Csv, buildCsvStringMatcher }; export type { CsvOptions };