md-curcuma
Version:
A Typescript library for transporting and converting markdown and other data.
16 lines (15 loc) • 613 B
TypeScript
import { Mapper_Properties, Mapper_Task_Interface } from "../../core/mapper";
export interface ImageDownloader_MappingType {
image_target_folder: string;
image_hugo_path: string;
filename_property_name: string;
simulate: boolean;
}
export declare class ImageDownloader_Mapping implements Mapper_Task_Interface {
protected properties: ImageDownloader_MappingType;
constructor(properties: ImageDownloader_MappingType);
perform(mapping_properties: Mapper_Properties): string;
private static is_valid_url_protocol;
private static is_valid_url;
private static download_image;
}