import { PortablePath } from '@boost/common'; export default class CrashReporter { contents: string; /** * Add a label with a value, or multiple values, to the last added section. */ add(label: string, ...messages: (string | number | PortablePath)[]): this; /** * Start a new section with a title. */ addSection(title: string): this; /** * Report Node.js related binary versions and paths. */ reportBinaries(): this; /** * Report all environment variables. */ reportEnvVars(): this; /** * Report common programming language versions and paths */ reportLanguages(): this; /** * Report information about the current `process`. */ reportProcess(): this; /** * Report the stack trace for a defined `Error`. */ reportStackTrace(error: Error): this; /** * Report information about the platform and operating system. */ reportSystem(): this; /** * Write the reported content to the defined file path. */ write(filePath: PortablePath): this; } //# sourceMappingURL=CrashReporter.d.ts.map