import type { PathLike } from 'node:fs'; import type { V_Context } from '../internal/contexts.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 * @internal @hidden */ export declare function resolve($: V_Context, path: string, preserveSymlinks?: boolean, extra?: ExceptionExtra): Promise; /** * Opens a file. This helper handles the complexity of file flags. * @internal */ export declare function open($: V_Context, path: PathLike, opt: OpenOptions): Promise; export declare function readlink(this: V_Context, path: PathLike): Promise; export declare function mkdir(this: V_Context, path: PathLike, options?: MkdirOptions): Promise; export declare function readdir(this: V_Context, path: PathLike, options?: ReaddirOptions): Promise; export declare function rename(this: V_Context, oldPath: PathLike, newPath: PathLike): Promise; export declare function link(this: V_Context, target: PathLike, link: PathLike): Promise;