@five-vm/cli
Version:
High-performance CLI for Five VM development with WebAssembly integration
33 lines • 1.11 kB
TypeScript
/**
* File Utilities - Legacy Compatibility Layer
*
* This module provides backward-compatible functions that wrap the
* centralized FiveFileManager for commands that haven't been updated yet.
*
* DEPRECATED: New code should use FiveFileManager directly.
*/
/**
* @deprecated Use FiveFileManager.loadFile() instead
*/
export declare function loadAnyFiveFile(filePath: string): Promise<{
bytecode: Uint8Array;
abi?: any;
format: string;
}>;
/**
* @deprecated Use FiveFileManager.extractBytecode() instead
*/
export declare function getBytecodeFromFile(filePath: string): Promise<Uint8Array>;
/**
* @deprecated Use FiveFileManager.extractABI() instead
*/
export declare function getABIFromFile(filePath: string): Promise<any | null>;
/**
* @deprecated Use FiveFileManager.detectFormat() instead
*/
export declare function detectFileFormat(filePath: string): 'five' | 'bin' | 'v' | 'unknown';
/**
* @deprecated Use FiveFileManager.validateFileContent() instead
*/
export declare function validateBytecodeFile(filePath: string): Promise<boolean>;
//# sourceMappingURL=fileUtils.d.ts.map