export declare const MACOS_VM_PACKAGE_NAME = "@ricsam/r5d-macos-vm"; export declare const NATIVE_ARCHIVE_NAME = "R5DMacOSVM.app.zip"; export declare const NATIVE_APP_NAME = "R5DMacOSVM.app"; export declare const NATIVE_EXECUTABLE_NAME = "R5DMacOSVM"; export declare const NATIVE_BUNDLE_IDENTIFIER = "dev.r5d.macos-vm"; export declare const NATIVE_MINIMUM_MACOS_VERSION = "14.0"; export declare const NATIVE_ARTIFACT_HOST = "downloads.r5d.dev"; export type NativeArtifactManifest = { schemaVersion: 1; packageVersion: string; url: string; sha256: string; byteLength: number; archiveName: typeof NATIVE_ARCHIVE_NAME; appName: typeof NATIVE_APP_NAME; executableName: typeof NATIVE_EXECUTABLE_NAME; bundleIdentifier: typeof NATIVE_BUNDLE_IDENTIFIER; teamIdentifier: string; architecture: "arm64"; minimumMacOSVersion: typeof NATIVE_MINIMUM_MACOS_VERSION; }; export declare function expectedArtifactUrl(version: string): string; /** * Identify Apple restore media and machine-specific VM state that must never be * shipped in either the npm package or the separately hosted native archive. */ export declare function isForbiddenVirtualMachineArtifactPath(filePath: string): boolean; export declare function findForbiddenVirtualMachineArtifactPaths(paths: readonly string[]): string[]; export declare function parseNativeArtifactManifest(value: unknown, expectedPackageVersion: string): NativeArtifactManifest; export declare function readNativeArtifactManifest(filePath: string, expectedPackageVersion: string): NativeArtifactManifest; export declare function findFileUpward(startPath: string, fileName: string): string | null; export declare function findPackageRoot(startPath: string): string | null; export declare function findPackageVersion(startPath: string): string;