/** * File utilities for SDK * Supports both Node.js/Bun and browser environments */ export interface FileReadResult { success: boolean; content?: string; error?: string; } export interface FileReadSyncResult { success: boolean; content?: string; error?: string; } /** * Read a text file asynchronously * Works in Node.js, Bun, and browser (with limitations) */ export declare function readTextFile(filePath: string, _workingDirectory?: string): Promise; /** * Read a text file synchronously (Node.js/Bun only) */ export declare function readTextFileSync(filePath: string, _workingDirectory?: string): FileReadSyncResult; /** * Parse surface data from string content * Supports space-separated, tab-separated, and comma-separated values */ export declare function parseSurfaceData(content: string): Float32Array; /** * Check if a path is safe (no directory traversal) */ export declare function isPathSafe(filePath: string): boolean; //# sourceMappingURL=file-utils.d.ts.map