UNPKG

@backtrace/node

Version:
11 lines (10 loc) 519 B
import { BacktraceFileAttachment as CoreBacktraceFileAttachment } from '@backtrace/sdk-core'; import { Readable } from 'stream'; import { NodeFileSystem } from '../storage/interfaces/NodeFileSystem.js'; export declare class BacktraceFileAttachment implements CoreBacktraceFileAttachment<Readable> { readonly filePath: string; private readonly _fileSystem?; readonly name: string; constructor(filePath: string, name?: string, _fileSystem?: NodeFileSystem | undefined); get(): Readable | undefined; }