export declare type SpanError = { name: string; message?: string; backtrace?: string[]; }; export declare function isError(error: Error | T): boolean; export declare function getStacktrace(error: Error | T): string[]; //# sourceMappingURL=error.d.ts.map