/** * Build a path-free detail suffix for a failed optional-dep `import()` catch. * Returns e.g. `error code: ERR_MODULE_NOT_FOUND` (or `error code: unknown`), * never the raw `err.message` (which embeds the importing file's absolute path). * * @param err - The caught error from `await import(...)`. */ export declare function optionalDepDetail(err: unknown): string; //# sourceMappingURL=optional-dep.d.ts.map