import type { StreamedPHPResponse } from './php-response'; import { PHPResponse } from './php-response'; export declare function printDebugDetails(e: any, streamedResponse?: StreamedPHPResponse): Promise; /** * Pretty prints the full stack trace of the error and all its causes. * Includes debug details for each error in the chain. * This is needed * * @param e */ export declare function prettyPrintFullStackTrace(e: any): Promise; /** * Describe an error for display. Handles Error instances, Comlink-serialized * plain objects (which lose their Error prototype during worker thread * transfer), and arbitrary values. */ export declare function describeError(error: unknown, seen?: WeakSet, depth?: number, options?: { suppressGenericErrorName?: boolean; }): string; export declare function printResponseDebugDetails(response: PHPResponse): void;