@realitydefender/realitydefender
Version:
SDK for the Reality Defender API for deepfake detection
16 lines (15 loc) • 413 B
TypeScript
/**
* File handling utilities
*/
/**
* Validates that a file exists and reads its content
* @param filePath Path to the file
* @returns File contents as a Buffer
*/
export declare function readFileContent(filePath: string): Buffer;
/**
* Extracts the filename from a file path
* @param filePath Path to the file
* @returns Base filename
*/
export declare function getFileName(filePath: string): string;