import type { Stats } from "node:fs"; import { type ArchiveLogger } from "./archive.js"; type ExistingInstallPathResult = { ok: true; resolvedPath: string; stat: Stats; } | { ok: false; error: string; }; export declare function resolveExistingInstallPath(inputPath: string): Promise; export declare function withExtractedArchiveRoot(params: { archivePath: string; tempDirPrefix: string; timeoutMs: number; logger?: ArchiveLogger; rootMarkers?: string[]; onExtracted: (rootDir: string) => Promise; }): Promise; export {};