//#region src/rolldown/hooks.d.ts interface ResolveContext { parentURL?: string; conditions?: string[]; importAttributes?: Record; } interface ResolveResult { url: string; shortCircuit?: boolean; format?: string; } interface LoadContext { format?: string; importAttributes?: Record; } interface LoadResult { format: string; source?: string | Buffer; shortCircuit?: boolean; } type NextResolve = (specifier: string, context: ResolveContext) => Promise; type NextLoad = (url: string, context: LoadContext) => Promise; declare function resolve(specifier: string, context: ResolveContext, nextResolve: NextResolve): Promise; declare function load(url: string, context: LoadContext, nextLoad: NextLoad): Promise; //#endregion export { load, resolve };