import type { NativeChangeArtifactPaths, 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, _options?: { readOnly?: boolean; change?: 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; /** * 只返回工作区隔离的用户级 Runtime;旧 change/runtime 必须先完成迁移。 */ export declare function nativeChangeRuntimeDir(paths: NativeProjectPaths, name: string): string; export declare function nativeChangeArtifactPaths(paths: NativeProjectPaths, name: string): NativeChangeArtifactPaths; export interface NativeRuntimeStorageInspection { status: 'available' | 'missing' | 'invalid'; layout: 'user-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