import type { TaglibLookup } from "@marko/compiler/babel-utils"; import type TS from "typescript/lib/tsserverlibrary"; import { type Parsed } from "../../parser"; import type { Meta } from "../../util/project"; /** * Iterate over the Marko CST and extract all the script content. */ export declare enum ScriptLang { js = "js", ts = "ts" } export interface ExtractScriptOptions { ts?: typeof TS; parsed: Parsed; lookup: TaglibLookup; scriptLang: ScriptLang; runtimeTypesCode?: string; translator: Meta["config"]["translator"]; } export declare function extractScript(opts: ExtractScriptOptions): import("../../util/extractor").Extracted;