type JsonReplacer = ((key: string, value: any) => any) | null;
/**
 * Deep-clones a value into plain JSON-serializable data: every `bigint` becomes a decimal string.
 * Use with `res.json(...)` so Express never hits "Do not know how to serialize a BigInt".
 */
export declare const toJsonSafe: (value: unknown) => unknown;
export declare const safeJsonStringify: (value: unknown, replacer?: JsonReplacer, space?: string | number) => string;
export declare const CustomJSONStringify: (args: any) => string;
export declare const CustomJSONParse: (stringifiedJSON: string) => any;
export {};
