export interface AttributedTraceback { /** First line of the error, before the stack. */ message: string; /** Roblox instance path of the topmost frame, e.g. "ServerScriptService.Foo.Bar". */ source?: string; /** Root of that path, which names the package the frame belongs to. */ owner?: string; /** Frames kept for display, topmost first. */ frames: string[]; /** How many times this same traceback appeared. */ count: number; } /** * Pull tracebacks out of log output and attribute each to its owning package. * * Attribution reads the script path in the frames rather than the position of * the traceback in the log. Position is unreliable: a deferred callback can * fire during a later package's section, which is why batch mode previously * gave up on tracebacks entirely. */ export declare function parseTracebacks(rawOutput: string): AttributedTraceback[]; /** * Name the package a script path belongs to. * * Batch places hold each package under its own root, so the segment below the * service is the package. */ export declare function ownerOf(scriptPath: string): string | undefined; /** Render tracebacks for a human, newest information first and bounded. */ export declare function formatTracebacks(tracebacks: AttributedTraceback[], maxShown?: number): string; //# sourceMappingURL=traceback-parser.d.ts.map