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