export interface FrictionEntry { attempted: string; error: string; exitCode: number; ts: string; } /** * Default friction-log location: a `friction.log` file inside the shared * Quonfig config home (`~/.quonfig`, the same dir as tokens/profile config). * Honors `QUONFIG_CONFIG_HOME` via `getQuonfigConfigHome()` so tests and * isolated environments redirect it along with everything else. */ export declare function getDefaultFrictionLogPath(configHome?: string): string; export declare function getFrictionLogPath(envValue?: string | undefined, cwd?: string): null | string; export declare function buildFrictionEntry(opts: { argv?: string[]; binName?: string; error?: string; exitCode: number; now?: Date; }): FrictionEntry; export declare function appendFrictionEntry(logPath: string, entry: FrictionEntry): void; export declare function extractLastErrorLine(stderr: string): string | undefined; export declare function installStderrCapture(): () => string;