/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ export declare function maybeStatSync(path: string): import("node:fs").Stats | undefined; export declare function maybeReadJsonSync(path: string): any; export declare function maybeReaddirSync(path: string): string[] | undefined; export declare function isDirectory(path: string): boolean; export declare function isFile(path: string): boolean; /** * Tiny virtual filesystem driver. Currently used only for processing globs. */ export interface FilesystemSync { resolve(...segments: string[]): string; readdir(path: string): string[] | undefined; stat(path: string): T | undefined; } export declare function FilesystemSync(): FilesystemSync; export declare namespace FilesystemSync { interface Stat { isDirectory?: boolean; isFile?: boolean; } } //# sourceMappingURL=file.d.ts.map