import { type Plugin } from 'vite'; /** * Creates the compiler-owned adaptation of Stencil's client style insertion. * * Taro components inject their styles through this internal client. Its default insertion point places those styles * after application CSS, allowing component defaults to override application rules. The adapter is registered in both * Vite's application pipeline and the independent dependency-optimization build: removing either registration leaves * production or development with an unadapted client. This explicit dual registration removes the former optimization * exclusion while keeping one transformation implementation. */ export declare function createStencilClientAdapter(): Plugin; /** * Applies the shared Stencil adaptation with one Oxc parse and one range edit. * * The physical module check is essential because the optimizer and application pipelines can * present query-suffixed or platform-normalized IDs. Transforming by source text alone could * modify user code that happens to contain the same insertion expression. Source maps remain * enabled because this adapter runs before Vite/Rolldown's later transforms in both pipelines; * dropping the map would attribute downstream diagnostics to the edited generated positions. */ export declare function adaptStencilClient(code: string, id: string): import("../../utils/transform.ts").AstTransformResult | undefined;