import type { FileSystem } from "./types.js";
/**
 * Check if an error is a "file not found" (ENOENT) error.
 */
export declare function isNotFound(error: unknown): boolean;
/**
 * Read a file if it exists, returning null if not found.
 */
export declare function readFileIfExists(fs: FileSystem, target: string): Promise<string | null>;
/**
 * Check if a path exists (file or directory).
 */
export declare function pathExists(fs: FileSystem, target: string): Promise<boolean>;
/**
 * Create an ISO timestamp safe for use in filenames.
 * Replaces colons and dots with dashes.
 */
export declare function createTimestamp(): string;
