type SourceContext = { pre_context?: string[]; context_line?: string; post_context?: string[]; }; type SentryStackFrame = { filename?: string; lineno?: number; colno?: number; } & SourceContext; type ValidSentryStackFrame = Required; type SentryStackTrace = { frames?: SentryStackFrame[]; }; export declare function getGeneratedCodeFromServer(filename: string): Promise; export declare function parseStackTrace(requestBody: string): SentryStackTrace | undefined; export declare function applySourceContextToFrame(sourceMapContent: string, frame: ValidSentryStackFrame): import("@jridgewell/trace-mapping").OriginalMapping | import("@jridgewell/trace-mapping").InvalidOriginalMapping; export declare function addContextLinesToFrame(lines: string[], frame: ValidSentryStackFrame, linesOfContext?: number): void; export declare function isValidSentryStackFrame(frame: SentryStackFrame): frame is ValidSentryStackFrame; export {};