6 lines
237 B
TypeScript
6 lines
237 B
TypeScript
import {CID_ALGORITHM_NAMES} from "@root/hash-compute/MultiHashData";
|
|
import * as Stream from "stream";
|
|
|
|
export interface FileIDComputerInterface{
|
|
computeCIDs(filePath: Stream, algorithms: CID_ALGORITHM_NAMES[]): Promise<string[]>;
|
|
} |