/** * HTML transform -- resolves `data-czap="name"` to boundary JSON. * * Scans HTML/Astro source for `data-czap="..."` attributes, resolves * the named boundary via the existing boundary resolution infrastructure, * and replaces with `data-czap-boundary='...'` containing serialized JSON. * * @module */ /** * Transform HTML source, replacing `data-czap="name"` with resolved boundary JSON. * * @param source - The HTML/Astro source string * @param fromFile - The file path of the source (for resolution context) * @param projectRoot - The project root directory * @param boundaryDir - Optional boundary definition directory (the plugin's `dirs.boundary` override) * @returns The transformed source, or the original if no transforms needed */ export declare function transformHTML(source: string, fromFile: string, projectRoot: string, boundaryDir?: string): Promise; //# sourceMappingURL=html-transform.d.ts.map