// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
import { NEWLINE, stringify } from "./csv.ts";
/**
 * Provides {@linkcode stringify} to encode data following the
 * [CSV specification](https://tools.ietf.org/html/rfc4180).
 *
 * This module is browser compatible.
 *
 * @module
 */ /**
 * @deprecated This file will be removed soon. Use `Error` instead.
 */ export class StringifyError extends Error {
    name = "StringifyError";
}
export { /**
   * @deprecated This file will be removed soon. Use `"\r\n"` instead.
   */ NEWLINE, /**
   * @deprecated This file will be removed soon. Import from "./csv.ts" instead.
   */ stringify };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImh0dHBzOi8vZGVuby5sYW5kL3N0ZEAwLjE1My4wL2VuY29kaW5nL2Nzdl9zdHJpbmdpZnkudHMiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gQ29weXJpZ2h0IDIwMTgtMjAyMiB0aGUgRGVubyBhdXRob3JzLiBBbGwgcmlnaHRzIHJlc2VydmVkLiBNSVQgbGljZW5zZS5cblxuaW1wb3J0IHtcbiAgQ29sdW1uLFxuICBDb2x1bW5EZXRhaWxzLFxuICBEYXRhSXRlbSxcbiAgTkVXTElORSxcbiAgc3RyaW5naWZ5LFxuICBTdHJpbmdpZnlPcHRpb25zLFxufSBmcm9tIFwiLi9jc3YudHNcIjtcblxuLyoqXG4gKiBQcm92aWRlcyB7QGxpbmtjb2RlIHN0cmluZ2lmeX0gdG8gZW5jb2RlIGRhdGEgZm9sbG93aW5nIHRoZVxuICogW0NTViBzcGVjaWZpY2F0aW9uXShodHRwczovL3Rvb2xzLmlldGYub3JnL2h0bWwvcmZjNDE4MCkuXG4gKlxuICogVGhpcyBtb2R1bGUgaXMgYnJvd3NlciBjb21wYXRpYmxlLlxuICpcbiAqIEBtb2R1bGVcbiAqL1xuXG4vKipcbiAqIEBkZXByZWNhdGVkIFRoaXMgZmlsZSB3aWxsIGJlIHJlbW92ZWQgc29vbi4gVXNlIGBFcnJvcmAgaW5zdGVhZ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