import type { PathLike } from 'node:fs'; import type { V_Context } from '../context.js'; import type { MkdirOptions, OpenOptions, ReaddirOptions, ResolvedPath } from './shared.js'; import { type ExceptionExtra } from 'kerium'; import { Dirent } from './dir.js'; import { Handle } from './file.js'; /** * Resolves the mount and real path for a path. * Additionally, any stats fetched will be returned for de-duplication * @category VFS * @internal @hidden */ export declare function resolve($: V_Context, path: string, preserveSymlinks?: boolean, extra?: ExceptionExtra): ResolvedPath; /** * @category VFS * @internal */ export declare function open(this: V_Context, path: PathLike, opt: OpenOptions): Handle; export declare function readlink(this: V_Context, path: PathLike): string; export declare function mkdir(this: V_Context, path: PathLike, options?: MkdirOptions): string | void; export declare function readdir(this: V_Context, path: PathLike, options?: ReaddirOptions): Dirent[]; export declare function rename(this: V_Context, oldPath: PathLike, newPath: PathLike): void; export declare function link(this: V_Context, target: PathLike, link: PathLike): void;