/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @fileoverview * @suppress {globalThis} */ declare const NEWLINE = "\n"; declare const SEP = " ------------- "; declare const IGNORE_FRAMES: any[]; declare const creationTrace = "__creationTrace__"; declare class LongStackTrace { error: Error; timestamp: Date; } declare function getStacktraceWithUncaughtError(): Error; declare function getStacktraceWithCaughtError(): Error; declare const error: Error; declare const caughtError: Error; declare const getStacktrace: typeof getStacktraceWithUncaughtError; declare function getFrames(error: Error): string[]; declare function addErrorStack(lines: string[], error: Error): void; declare function renderLongStackTrace(frames: LongStackTrace[], stack: string): string; declare function captureStackTraces(stackTraces: string[][], count: number): void; declare function computeIgnoreFrames(): void;