/**
 * Pure: return `currentPath` with every canonical macOS bin dir guaranteed
 * present. Missing dirs are APPENDED — existing entries keep their precedence,
 * so we never shadow a tool the user deliberately placed earlier. Empty
 * segments are dropped (a stray "::" would otherwise become a "" lookup dir).
 * Non-darwin platforms get the input back unchanged.
 */
export declare function repairSpawnPath(currentPath: string | undefined, platform: NodeJS.Platform): string;
/**
 * Mutating + idempotent: repair process.env.PATH in place. Call once as early
 * as possible at daemon boot, BEFORE any provider init or child spawn, so the
 * repaired PATH propagates to every subprocess (and to the background fork,
 * which copies process.env).
 */
export declare function ensureSpawnPath(): void;
//# sourceMappingURL=spawn-path.d.ts.map