/**
 * Extract filesystem / Friday file URLs from message tool result or params (nested JSON).
 */
export declare function collectMediaPathsFromToolResult(raw: unknown, acc?: Set<string>): Set<string>;
/**
 * Scan the same tool `text` string that is sent on SSE (often JSON.stringify(result)).
 * Inner nested JSON uses escaped quotes (\"), so keys like "mediaUrl" may not match
 * naive JSON walks on the outer value. Unescaped absolute paths still appear verbatim
 * (e.g. /Users/.../file.md) and are extracted here.
 */
export declare function extractLocalPathsFromToolTextBlob(s: string): Set<string>;
