/** * Filesystem and string manipulation utilities */ /** * Generate an anonymous ID for users without identity */ export declare function generateAnonymousId(): string; /** * Normalize an element name to the canonical filename identity used by managers. */ export declare function normalizeElementFilename(name: string): string; /** Canonical non-empty identity used for element files and related runtime maps. */ export declare function normalizeElementStorageIdentity(name: string): string; export declare function generateUniqueId(personaName: string, author?: string): string; /** * Convert text to URL-safe slug */ export declare function slugify(text: string): string; /** * Ensure a directory exists, create if it doesn't */ export declare function ensureDirectory(dirPath: string): Promise; /** * Check if a file exists */ export declare function fileExists(filePath: string): Promise; /** * Get file size in bytes */ export declare function getFileSize(filePath: string): Promise; /** * Create a backup of a directory */ export declare function createBackup(sourcePath: string, backupPath: string): Promise; //# sourceMappingURL=filesystem.d.ts.map