import type { StackFrame } from './sentry-protocol.js'; /** * Rewrites a frame's path so it says where in the CLI or its dependencies the * code is, and nothing about the machine. A file of the user's own (a check, * the config) is not named at all. */ export declare function scrubFrame(frame: StackFrame, packageRoot: string): StackFrame; export interface ScrubOptions { cwd?: string; home?: string; packageRoot?: string; platform?: NodeJS.Platform; } /** * Removes Checkly API keys, auth headers and URL passwords from an error * message, and the CLI's, the project's and the home directory's location. */ export declare function scrubMessage(message: string, { cwd, home, packageRoot, platform, }?: ScrubOptions): string;