export declare const MAX_RECORDED_ERROR_STACK_CHARS = 4000; export interface ForkExitErrorDetail { message: string; stack: string | undefined; } export declare function toErrorDetail(error: unknown): ForkExitErrorDetail; export declare function sanitizeInlineErrorMessage(message: string): string;