export declare const MAX_LOG_PAYLOAD = 99000;
/**
 * Safely stringify an object (mostly handle circular ref and known problematic keys)
 */
export declare function stringifyObject(value: any): string;
/**
 * Stringify and truncate unknown value
 */
export declare function stringifyAndTruncateValue(value: any, maxSize?: number): string;
/**
 * Truncate a JSON
 * Will entirely remove properties that are too big
 */
export declare function truncateJson<TObject extends Record<string, any>>(value: TObject, maxSize?: number): TObject;
/**
 * Truncate a JSON as string
 * Will entirely remove properties that are too big
 */
export declare function truncateJsonString(value: string, maxSize?: number): string;
