API Extractor collects the import list before dropping non-@public declarations and never revisits it, so a symbol referenced only by @internal members lingers as an import and reads as public API - e.g. docs/public-api/crawlee-core.api.md imports Cookie from tough-cookie even though no exported symbol uses it.
scripts/api-extractor/run.ts could prune import lines whose binding appears nowhere else in the report.
API Extractor collects the import list before dropping non-
@publicdeclarations and never revisits it, so a symbol referenced only by@internalmembers lingers as an import and reads as public API - e.g.docs/public-api/crawlee-core.api.mdimportsCookiefromtough-cookieeven though no exported symbol uses it.scripts/api-extractor/run.tscould prune import lines whose binding appears nowhere else in the report.