import type {DefaultTreeAdapterMap} from "parse5"; // Load hook types export interface RollupHtmlLoadContext { node: DefaultTreeAdapterMap['element']; sourceId: string; } export type AttributeReference = { attr: string; }; export type BodyReference = { /** * Indicate this is an inlined reference (node body) */ body: boolean; /** * Describes what the content type is. I.e 'js' for inlined