export interface CustomError extends Error { code?: string; data?: Record; } export declare const stringifyError: (error: CustomError) => string;