import type { NodePath, PluginPass } from "@babel/core"; export interface Injector { ensureSignal: (path: NodePath, state: PluginPass) => string; ensureComputed: (path: NodePath, state: PluginPass) => string; } /** * Lazy import injection. The helpers are only added the first time the compiler * actually emits a `signal(...)` / `computed(...)` call, so a file that merely * *consumes* signals (reads `.value`, assigns) ends up with no spurious import. */ export declare const createInjector: (importSource: string, autoImport: boolean) => Injector;