import { ROUTEKIT_PACKAGE_NAME } from "./types.js"; export type InstallerReceipt = { schemaVersion: 1; provenance: "routekit-installer"; manager: "npm"; packageName: typeof ROUTEKIT_PACKAGE_NAME; prefix: string; npmExecutable: string; nodeExecutable: string; routekitExecutable: string; installMode: "system" | "private"; }; export declare function npmPrefixFromPackageRoot(packageRoot: string): string | undefined; export declare function installerReceiptPath(prefix: string): string; export declare function readInstallerReceipt(packageRoot: string): { path: string; receipt: InstallerReceipt; } | undefined; export declare function privateRuntimeNpmCandidates(packageRoot: string, env: NodeJS.ProcessEnv): string[]; export declare function isPrivateInstallerNpm(executable: string, prefix: string, env: NodeJS.ProcessEnv): boolean; export declare function writeInstallerReceipt(receipt: InstallerReceipt): string; export declare function packageRootProject(packageRoot: string): string | undefined;