/** * Shared utilities for convention-based resolve modules. */ /** * Attempt to dynamically import a module and extract a named export * whose `_tag` matches `expectedTag`. * * @param modulePath - Absolute path to the module file. * @param exportName - The named export to look up. * @param expectedTag - The `_tag` value that identifies a valid export * (e.g. `'BoundaryDef'`). * @param diagnosticSource - The source string used in `Diagnostics` * warnings (e.g. `'czap/vite.boundary-resolve'`). * @param diagnosticNoun - Human-readable noun for the warning message * (e.g. `'boundary'`). * @returns The matched export cast to `T`, or `undefined` if not found * or tagged incorrectly. */ export declare function tryImportNamed(modulePath: string, exportName: string, expectedTag: string, diagnosticSource: string, diagnosticNoun: string, options?: { readonly cacheBustMtime?: number; }): Promise; //# sourceMappingURL=resolve-utils.d.ts.map