import type { PresetNode } from '@presetter/types'; /** * recursively extracts all preset root paths from a preset node tree (pure function) * * Order: closest to consumer first, then child presets * Example: consumer -> preset-esm -> preset-essentials * Returns: [esm-root, essentials-root] * * This ensures the direct preset's binaries have highest PATH priority, * allowing more specific presets to override base preset binaries. * @param node the root preset node to traverse * @returns array of unique preset root paths, closest to consumer first */ export declare const extractPresetRoots: (node: PresetNode) => readonly string[]; //# sourceMappingURL=roots.d.ts.map