import fs from "node:fs"; import type { VirtualProvider, VirtualFileHandle, VfsStatfs } from "./node/index.js"; import { VirtualProviderClass } from "./utils.js"; export declare class MountRouterProvider extends VirtualProviderClass implements VirtualProvider { private readonly mountMap; private readonly mountPaths; private readonly allReadonly; private readonly allSymlinks; private readonly allWatch; constructor(mounts: Record | Map); get readonly(): boolean; get supportsSymlinks(): boolean; get supportsWatch(): boolean; open(entryPath: string, flags: string, mode?: number): Promise; openSync(entryPath: string, flags: string, mode?: number): VirtualFileHandle; stat(entryPath: string, options?: object): Promise; statSync(entryPath: string, options?: object): fs.Stats; lstat(entryPath: string, options?: object): Promise; lstatSync(entryPath: string, options?: object): fs.Stats; readdir(entryPath: string, options?: object): Promise<(string | fs.Dirent)[]>; readdirSync(entryPath: string, options?: object): (string | fs.Dirent)[]; mkdir(entryPath: string, options?: object): Promise; mkdirSync(entryPath: string, options?: object): string | void; rmdir(entryPath: string): Promise; rmdirSync(entryPath: string): void; unlink(entryPath: string): Promise; unlinkSync(entryPath: string): void; rename(oldPath: string, newPath: string): Promise; renameSync(oldPath: string, newPath: string): void; link(existingPath: string, newPath: string): Promise; linkSync(existingPath: string, newPath: string): void; readlink(entryPath: string, options?: object): Promise; readlinkSync(entryPath: string, options?: object): any; symlink(target: string, entryPath: string, type?: string): Promise; symlinkSync(target: string, entryPath: string, type?: string): any; realpath(entryPath: string, options?: object): Promise; realpathSync(entryPath: string, options?: object): any; access(entryPath: string, mode?: number): Promise; accessSync(entryPath: string, mode?: number): any; statfs(entryPath: string): Promise; watch(entryPath: string, options?: object): any; watchAsync(entryPath: string, options?: object): any; watchFile(entryPath: string, options?: object, listener?: (...args: unknown[]) => void): any; unwatchFile(entryPath: string, listener?: (...args: unknown[]) => void): any; private resolveMount; private virtualChildren; private ensureVirtualDir; private requireMount; private requireSameMount; } export declare function normalizeMountPath(inputPath: string): string; export declare function normalizeMountMap(mounts: Record): Map; export declare function listMountPaths(mounts?: Record): string[]; //# sourceMappingURL=mounts.d.ts.map