import { Configurable, IConfigurable, IOptions } from './Configurable'; export declare type IRunnerOptions = IOptions; export interface IRunnerArgs { url: string; options?: RO; } export interface IRunner = IRunnerArgs> extends IConfigurable { run: (url: string, scraper: (args: RA) => Promise, options?: RO) => Promise; } export declare abstract class Runner = IRunnerArgs> extends Configurable implements IRunner { run(url: string, scraper: (args: RA) => Promise, options?: RO): Promise; protected abstract exec(url: string, scraper: (args: RA) => Promise, options: RO): Promise; }