/** * The import specifier the stub asks for. Encoded so paths survive the * scheme; suffixed `.js` and served pre-compiled because a `.tsx`-suffixed * scheme id was measured NOT to reach the CLI build's type-stripping — the * bundler parsed the virtual module as JS and choked on the annotations * (intent names cannot contain `.`, so the suffix is unambiguous). */ export declare function intentVirtualId(module: string, island: string, intent: string): string; /** The parts of a resolved (`\0`-prefixed) virtual id — undefined for anything else. */ export declare function parseIntentVirtualId(id: string): { module: string; island: string; intent: string; } | undefined; /** * Rewrites every extractable run into a lazy stub. Undefined when nothing * is provable — the module ships as written. */ export declare function splitIntentsTransform(code: string, tsx: boolean, moduleId: string): string | undefined; /** * The virtual module for one extracted run: the import statements it needs, * verbatim (relative specifiers are resolved against the original module by * the plugin), plus the run itself. Re-derived from the file on every load, * so dev edits never serve a stale run. */ export declare function extractIntentRun(code: string, tsx: boolean, island: string, intent: string): string | undefined; /** The transform-hook gate. */ export declare function splitClientModule(id: string, code: string): string | undefined;