/**
 * This file is part of the drip-table project.
 * @link     : https://drip-table.jd.com/
 * @author   : Emil Zhai (root@derzh.com)
 * @modifier : Emil Zhai (root@derzh.com)
 * @copyright: Copyright (c) 2021 JD Network Technology Co., Ltd.
 */
/**
 * Stringify JSON
 * @param v Data to be stringify
 * @returns Stringified JSON, or empty string while encode failed.
 */
export declare const encodeJSON: (v: unknown) => string;
/**
 * Decode JSON.
 * @param v Stringified JSON.
 * @returns JSON data, or undefined while decode failed.
 */
export declare const decodeJSON: <T = unknown>(v: string) => T | undefined;
