import {OnProgress} from '../../types/on-progress' type PathInput = { path: string } type HashInput = { sha256: string } export type Input = (PathInput | HashInput) & { onProgress: OnProgress }