import * as React from 'react'; import { ComponentProps } from 'react'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { Button } from '../ui/button.js'; import { CollapsibleContent, CollapsibleTrigger } from '../ui/collapsible.js'; import 'class-variance-authority/types'; import '@base-ui/react/button'; import 'class-variance-authority'; import '@base-ui/react/collapsible'; type StackTraceProps = ComponentProps<"div"> & { trace: string; open?: boolean; defaultOpen?: boolean; onOpenChange?: (open: boolean) => void; onFilePathClick?: (filePath: string, line?: number, column?: number) => void; }; declare const StackTrace: React.MemoExoticComponent<({ trace, className, open, defaultOpen, onOpenChange, onFilePathClick, children, ...props }: StackTraceProps) => react_jsx_runtime.JSX.Element>; type StackTraceHeaderProps = ComponentProps; declare const StackTraceHeader: React.MemoExoticComponent<({ className, children, ...props }: StackTraceHeaderProps) => react_jsx_runtime.JSX.Element>; type StackTraceErrorProps = ComponentProps<"div">; declare const StackTraceError: React.MemoExoticComponent<({ className, children, ...props }: StackTraceErrorProps) => react_jsx_runtime.JSX.Element>; type StackTraceErrorTypeProps = ComponentProps<"span">; declare const StackTraceErrorType: React.MemoExoticComponent<({ className, children, ...props }: StackTraceErrorTypeProps) => react_jsx_runtime.JSX.Element>; type StackTraceErrorMessageProps = ComponentProps<"span">; declare const StackTraceErrorMessage: React.MemoExoticComponent<({ className, children, ...props }: StackTraceErrorMessageProps) => react_jsx_runtime.JSX.Element>; type StackTraceActionsProps = ComponentProps<"div">; declare const StackTraceActions: React.MemoExoticComponent<({ className, children, ...props }: StackTraceActionsProps) => react_jsx_runtime.JSX.Element>; type StackTraceCopyButtonProps = ComponentProps & { onCopy?: () => void; onError?: (error: Error) => void; timeout?: number; }; declare const StackTraceCopyButton: React.MemoExoticComponent<({ onCopy, onError, timeout, className, children, ...props }: StackTraceCopyButtonProps) => react_jsx_runtime.JSX.Element>; type StackTraceExpandButtonProps = ComponentProps<"div">; declare const StackTraceExpandButton: React.MemoExoticComponent<({ className, ...props }: StackTraceExpandButtonProps) => react_jsx_runtime.JSX.Element>; type StackTraceContentProps = ComponentProps & { maxHeight?: number; }; declare const StackTraceContent: React.MemoExoticComponent<({ className, maxHeight, children, ...props }: StackTraceContentProps) => react_jsx_runtime.JSX.Element>; type StackTraceFramesProps = ComponentProps<"div"> & { showInternalFrames?: boolean; }; declare const StackTraceFrames: React.MemoExoticComponent<({ className, showInternalFrames, ...props }: StackTraceFramesProps) => react_jsx_runtime.JSX.Element>; export { StackTrace, StackTraceActions, type StackTraceActionsProps, StackTraceContent, type StackTraceContentProps, StackTraceCopyButton, type StackTraceCopyButtonProps, StackTraceError, StackTraceErrorMessage, type StackTraceErrorMessageProps, type StackTraceErrorProps, StackTraceErrorType, type StackTraceErrorTypeProps, StackTraceExpandButton, type StackTraceExpandButtonProps, StackTraceFrames, type StackTraceFramesProps, StackTraceHeader, type StackTraceHeaderProps, type StackTraceProps };