/// /// import { Stream } from 'stream'; declare function getFileCategory(filePath: any): any; export declare function hexToRgba(hex: string): { rgb: number[]; a: number; }; export declare function convertToSixDigitHex(hexColor: string): string; export declare function normalizeAlignment(value: number): { value: number; v: boolean; }; export declare function getKeys(key: any, type: string, obj: any, json?: boolean): any; export declare function getMapKeys(keyMap: any, type: string, obj: any, json?: boolean): any; export declare function removeNil(obj: Record): import("lodash").Dictionary; export declare function isValidURL(str: string): boolean; declare function isLocalPath(str: string): boolean; type MediaType = 'image' | 'gif' | 'video' | 'audio' | 'unknown'; declare function detectMediaTypeFromResponse(res: { headers?: Record; }): MediaType; declare function extractFilename(url: string, headers: Record): string; declare function getExtensionFromMime(mimeType: string): string | null; export declare function writeStreamToFile(stream: Stream, outputPath: string): Promise; declare function isPathInDirectory(targetPath: any, parentDir: any): boolean; declare function getParentDirectory(filePath: string): string | null; declare function isRootDirectory(filePath: string): boolean; declare function getRootPath(filePath: string): string; declare function replacePathsInJSON(json: any, sourcePath: string, targetPath: string, excludePatterns?: never[]): string; declare function copySingleFile(sourcePath: string, targetDir: string): Promise; export { getFileCategory, copySingleFile, getExtensionFromMime, replacePathsInJSON, isPathInDirectory, getParentDirectory, isRootDirectory, getRootPath, isLocalPath, extractFilename, detectMediaTypeFromResponse };