export declare function redactLogLine(msg: string): string;
export declare function redactClientLogs(logs: {
    level: string;
    ts: number;
    msg: string;
}[] | undefined): {
    level: string;
    ts: number;
    msg: string;
}[] | undefined;
export declare function redactDaemonLogTail(tail: string | undefined): string | undefined;
export interface DesktopInstallAttempt {
    ts: number;
    agent: string;
    cmd: string;
    args: string[];
    code: number | null;
    reason: string;
    stderrTail: string;
    spawnError?: string;
}
/**
 * Sanitize each free-text field of an install attempt before sending to
 * bug-intake. `stderrTail` from `bun install` regularly carries the active
 * registry URL (which on corp networks may include `https://user:pass@host`),
 * and `cmd` / `args` may surface user-home paths. We run them through the
 * same redaction the daemon uses for client/daemon logs.
 */
export declare function redactDesktopInstallAttempts(attempts: DesktopInstallAttempt[] | undefined): DesktopInstallAttempt[] | undefined;
//# sourceMappingURL=bug-report-redact.d.ts.map