export interface CollisionResult { collides: boolean; colliderPath: string | null; } /** * Detect whether a `forge` binary other than ourselves is on PATH. * * Collision = `which forge` resolves to a path whose realpath is NOT under * the same ancestor directory as `process.argv[1]` (our own binary). * * Uses `spawnSync("which", ["forge"])` with argv array — Iron Law 6. * Returns `{ collides: false, colliderPath: null }` on any error. */ export declare function detectFoundryCollision(): CollisionResult; /** * Returns true if this collider path has already been dismissed by the user. * Returns false on any error (conservative: show the notification again). */ export declare function wasCollisionSeen(colliderPath: string): boolean; /** * Mark a collider path as seen so the one-time notification is not repeated. * Silent no-op on any error. */ export declare function markCollisionSeen(colliderPath: string): void;