import { z } from "zod"; /** Text encodings accepted by the filesystem helpers. */ export declare const FileEncodingSchema: z.ZodEnum<{ "utf-8": "utf-8"; utf8: "utf8"; ascii: "ascii"; base64: "base64"; base64url: "base64url"; hex: "hex"; latin1: "latin1"; binary: "binary"; ucs2: "ucs2"; "ucs-2": "ucs-2"; utf16le: "utf16le"; "utf-16le": "utf-16le"; }>; /** Hash algorithms supported by `useHashFile` / `useVerifyFileHash`. */ export declare const FileHashAlgorithmSchema: z.ZodEnum<{ md5: "md5"; sha1: "sha1"; sha256: "sha256"; sha512: "sha512"; }>; /** Safe error from a filesystem operation (`NodeJS.ErrnoException`-shaped). */ export declare const FilesystemErrorSchema: z.ZodObject<{ code: z.ZodString; message: z.ZodString; path: z.ZodOptional; details: z.ZodOptional; }, z.core.$strip>; /** Portable stats subset for a file or directory. */ export declare const FileStatsSchema: z.ZodObject<{ size: z.ZodNumber; isFile: z.ZodBoolean; isDirectory: z.ZodBoolean; isSymbolicLink: z.ZodBoolean; createdAt: z.ZodNumber; modifiedAt: z.ZodNumber; accessedAt: z.ZodNumber; }, z.core.$strip>; /** A single directory entry with pre-resolved type flags. */ export declare const ReadDirEntrySchema: z.ZodObject<{ name: z.ZodString; path: z.ZodString; isFile: z.ZodBoolean; isDirectory: z.ZodBoolean; }, z.core.$strip>; /** Options for directory listing. */ export declare const ReadDirOptionsSchema: z.ZodObject<{ recursive: z.ZodOptional; }, z.core.$strip>; /** Options for writing or appending files. */ export declare const WriteFileOptionsSchema: z.ZodObject<{ encoding: z.ZodOptional>; mode: z.ZodOptional; flag: z.ZodOptional; }, z.core.$strip>; //# sourceMappingURL=filesystem.schema.d.ts.map