import { LinkKind } from '../types.js'; export declare function ensureParentDir(p: string): Promise; export declare function createEmptyFile(p: string): Promise; export declare function createDir(p: string): Promise; /** * Create a symlink at target pointing to source. * On macOS/Linux we do not fallback to copy. If symlink fails, it throws. */ export declare function createSymlink(sourceAbs: string, targetAbs: string, kind: LinkKind): Promise; export declare function removePath(p: string): Promise; /** * Remove only if it's a symlink. Throws if it exists but isn't a symlink. */ export declare function removeSymlink(p: string): Promise; export declare function renameAtomic(from: string, to: string): Promise; export declare function copyPath(from: string, to: string): Promise;