khamba
Version:
A cli tool for sharing files through local network.
5 lines (4 loc) • 432 B
TypeScript
import { FileTypes } from '../types/storeTypes.js';
export declare const checkDuplication: (FILE_ID: string, fileName: string) => Promise<boolean>;
export declare const checkEnoughSpace: (FILE_ID: string, fileSize: number) => Promise<boolean>;
export declare const useFileDownloader: (MY_ID: string, PEER_IP: string, PEER_TCP_PORT: number, FILE_ID: string, FILENAME: string, FILETYPE: FileTypes, FILESIZE: number) => Promise<void>;