export interface ErrorDetails {
    message: string;
    code?: string;
    moduleName?: string;
    transactionHash?: string;
    data?: unknown;
    stack?: string;
}
export declare function extractErrorDetails(error: unknown): ErrorDetails;
export declare function formatStackTrace(stack?: string): string;
//# sourceMappingURL=errors.d.ts.map