import { ReadRecordOptions, ReadOutput } from './createFilesystem.js'; import { FilesystemOptionsPath, FilesystemOptionsFs } from './types.js'; import '../validator/validate.js'; import '../validator/valibot.js'; import 'valibot'; import '../validator/types.js'; declare function createFilesystemFake(): { path: FilesystemOptionsPath; fs: FilesystemOptionsFs; exists: (path: string) => Promise; existsSync: (path: string) => boolean; read: { (filepath: string): Promise; text(filepath: string, options?: any): Promise; json(filepath: string, options?: T): Promise>; yaml(filepath: string, options?: any): Promise; }; readSync: { (filepath: string): Uint8Array; text(filepath: string, defaultValue?: string): string; json(filepath: string, options?: T): ReadOutput; yaml(filepath: string, options?: any): any; }; readdir: (filepath: string) => Promise; readdirSync: (filepath: string) => string[]; write: { (filename: string, content: Uint8Array, options?: any): Promise; text(filename: string, content: string, options?: any): Promise; json(filename: string, content: any, options?: any): Promise; }; writeSync: { (filename: string, content: Uint8Array, options?: any): void; text(filename: string, content: string, options?: any): void; json(filename: string, content: any, options?: any): void; }; mkdir: (filepath: string, options?: any) => Promise; mkdirSync: (filepath: string, options?: any) => void; remove: (filepath: string) => Promise; removeSync: (filepath: string) => void; removeAt: (filepath: string, miliseconds: number) => Promise; }; export { createFilesystemFake };