1/** 2 * Copyright (c) 650 Industries. 3 * Copyright (c) Meta Platforms, Inc. and affiliates. 4 * 5 * This source code is licensed under the MIT license found in the 6 * LICENSE file in the root directory of this source tree. 7 */ 8/** 9 * Tries to stringify with JSON.stringify and toString, but catches exceptions 10 * (e.g. from circular objects) and always returns a string and never throws. 11 */ 12export declare function createStringifySafeWithLimits(limits: { 13 maxDepth?: number; 14 maxStringLimit?: number; 15 maxArrayLimit?: number; 16 maxObjectKeysLimit?: number; 17}): (foo: any) => string; 18declare const stringifySafe: (foo: any) => string; 19export default stringifySafe; 20//# sourceMappingURL=index.d.ts.map