import type { PluginLoader } from './host.js'; export interface JitiLoaderOptions { readonly cwd: string; /** * When provided, its return value is appended as a `?v=` query to the ESM * import URL so `import()` re-evaluates the module. Supplying this LEAKS a * module instance per call — ESM modules can't be unloaded, so every distinct * URL is retained for the process lifetime. Provide it ONLY for an explicit * hot-reload of a changed `.js`/`.mjs` plugin; omit it for normal loads so a * long-lived runner that reloads repeatedly doesn't grow memory without * bound. (`.ts` plugins go through jiti, which has its own cache control.) */ readonly cacheBust?: () => string; } export declare function createPluginLoader(opts: JitiLoaderOptions): PluginLoader; //# sourceMappingURL=loader.d.ts.map