isDownloadFileExist.d.ts 408 B

1234567891011121314151617
  1. export interface LocalFileExistParams {
  2. params: {
  3. url: string;
  4. }[];
  5. }
  6. export interface LocalFileExistResult {
  7. url: string;
  8. path: string;
  9. isExist: boolean;
  10. }
  11. declare function isDownloadFileExist(args: LocalFileExistParams): Promise<LocalFileExistResult[]>;
  12. declare namespace isDownloadFileExist {
  13. var version: {
  14. pc: string;
  15. };
  16. }
  17. export default isDownloadFileExist;