import type {DefaultTreeAdapterMap} from "parse5";

export interface RollupHtmlResolveContext {
  node: DefaultTreeAdapterMap['element'];
  sourceId: string;
}
export type ResolveResult = string|true|undefined|void|false;
export type ResolveCallback = (id: string, resolveContext: RollupHtmlResolveContext) => ResolveResult|Promise<ResolveResult>;
