UNPKG

website-scrap-engine

Version:
11 lines 747 B
import type { DownloadResource } from './types.js'; import type { StaticDownloadOptions } from '../options.js'; import type { ResourceBody, ResourceEncoding } from '../resource.js'; import { ResourceType } from '../resource.js'; import type { PipelineExecutor } from './pipeline-executor.js'; export declare function getResourceBodyFromHtml(res: DownloadResource & { type: ResourceType.Html; }, options: StaticDownloadOptions): ResourceBody; export declare function redirectHtml(relativePath: string, encoding?: ResourceEncoding): string; export declare function saveHtmlToDisk(res: DownloadResource, options: StaticDownloadOptions, pipeline: PipelineExecutor): Promise<DownloadResource | void>; //# sourceMappingURL=save-html-to-disk.d.ts.map