/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import type { StackFrame as StackFrameType } from '../utils/stack-frame.js'; import type { ErrorLocation } from '../utils/parseCompileError.js'; interface Props { stackFrames: StackFrameType[]; errorName: string; contextSize: number; editorHandler: (errorLoc: ErrorLocation) => void; } declare class StackTrace extends Component { renderFrames(): React.ReactElement>[]; render(): React.JSX.Element; } export default StackTrace;