@plastichub/osr-mail
Version:
This is a CLI(CommandLineInterface) toolset to convert media files
6 lines (5 loc) • 435 B
TypeScript
import * as sharp from 'sharp';
import { IOptions, IResizeOptions } from '../../../types';
export declare const convertFile: (file: any, target: any, onNode: (data: any) => void, options: IResizeOptions) => Promise<sharp.OutputInfo>;
export declare function _convert(file: any, targets: string[], onNode: (data: any) => void, options: IOptions): Promise<any[]>;
export declare const convert: (options: IOptions) => Promise<void>;