/**
 * Filesystem and string manipulation utilities
 */
/**
 * Generate an anonymous ID for users without identity
 */
export declare function generateAnonymousId(): 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<void>;
/**
 * Check if a file exists
 */
export declare function fileExists(filePath: string): Promise<boolean>;
/**
 * Get file size in bytes
 */
export declare function getFileSize(filePath: string): Promise<number>;
/**
 * Create a backup of a directory
 */
export declare function createBackup(sourcePath: string, backupPath: string): Promise<void>;
//# sourceMappingURL=filesystem.d.ts.map