import { types as t } from "@marko/compiler"; import type { Plugin } from "@marko/compiler/babel-utils"; export type VisitorType = "migrate" | "transform" | "analyze" | "translate"; export type TemplateVisitor = Partial>>; export declare function extractVisitors>>>(visitors: Visitors): Record>; export declare function translateByTarget({ html, dom, }: { dom: t.VisitNode; html: t.VisitNode; }): { readonly enter: (path: t.NodePath) => void; readonly exit: (path: t.NodePath) => void; }; export declare function enterHook(modulePlugin: Plugin | void, path: t.NodePath): void; export declare function exitHook(modulePlugin: Plugin | void, path: t.NodePath): void;