import { GeneratorConfigOptions } from '@utam/types'; import { HtmlParserFn, GeneratedUtamPageObject } from '../types'; export declare function scriptParser(htmlParser: HtmlParserFn, config: GeneratorConfigOptions): ScriptParser; /** * abstract class for JavaScript source parser */ declare abstract class ScriptParser { readonly htmlParser: HtmlParserFn; readonly config: GeneratorConfigOptions; constructor(htmlParser: HtmlParserFn, config: GeneratorConfigOptions); abstract traversal(scriptSource: string): string[]; parse(scriptSource: string): GeneratedUtamPageObject[]; } export {}; //# sourceMappingURL=script-parser.d.ts.map