import type { NativeProjectPaths } from './native-types.js'; export declare const PROJECT_CONFIG_FILE = ".comet/config.yaml"; export declare function discoverNativeProject(startPath: string): Promise; export declare function normalizeArtifactRootRef(value: string): string; export declare function resolveArtifactRoot(projectRoot: string, value: string): Promise; export declare function nativeProjectPaths(projectRoot: string, artifactRootRef: string): Promise; export declare function ensureNativeDirectories(paths: NativeProjectPaths): Promise; export declare function nativePreferredChangeRuntimeDir(paths: NativeProjectPaths, name: string): string; export declare function nativeLegacyChangeRuntimeDir(paths: NativeProjectPaths, name: string): string; /** * Resolve the physical Runtime root for a change. New Runtime wins whenever it exists; * otherwise an existing legacy `/runtime` remains readable until Doctor migrates it. * A missing Runtime resolves to the preferred new location so all new writes use `.comet`. */ export declare function nativeChangeRuntimeDir(paths: NativeProjectPaths, name: string): string; export interface NativeRuntimeStorageInspection { status: 'available' | 'missing' | 'invalid'; layout: 'project-local' | 'legacy' | 'missing'; path: string; message?: string; } /** Read-only storage health used by status/doctor before opening machine-owned files. */ export declare function inspectNativeRuntimeStorage(paths: NativeProjectPaths, name: string): Promise; export declare function nativeRuntimeRefFile(runtimeDir: string, ref: string): string; export declare function nativeStorageRoot(paths: NativeProjectPaths, target: string): string; export declare function isInsidePath(parent: string, target: string): boolean; export declare function resolveContainedNativePath(root: string, target: string): Promise; //# sourceMappingURL=native-paths.d.ts.map