import { type Dictionary } from '../typings.js';
export interface FsUtils {
  init(): Promise<void>;
  pathExists(path: string): boolean;
  ensureDir(path: string): void;
  readJSONSync<T = Dictionary>(path: string): T;
  glob(input: string | string[], cwd?: string): string[];
  resolveGlob(input: string | string[], cwd?: string): string[];
  getPackageConfig<T extends Dictionary>(basePath?: string): T;
  getORMPackages(): Set<string>;
  getORMPackageVersion(name: string): string | undefined;
  checkPackageVersion(): void;
  normalizePath(...parts: string[]): string;
  relativePath(path: string, relativeTo: string): string;
  absolutePath(path: string, baseDir?: string): string;
  writeFile(path: string, data: string, options?: Record<string, any>): Promise<void>;
  dynamicImport<T = any>(id: string): Promise<T>;
}
export declare const fs: FsUtils;
export * from '../cache/FileCacheAdapter.js';
