export declare function truncate(str: string, max?: number): string;
/**
 * Given any captured exception, extract its keys and create a sorted
 * and truncated list that will be used inside the event message.
 * eg. `Non-error exception captured with keys: foo, bar, baz`
 */
export declare function extractExceptionKeysForMessage(err: object, maxLength?: number): string;
//# sourceMappingURL=utils.d.ts.map