export declare type OnProgress = (progress: number) => void;