(parsed: ParsedExports): ((specifier: string) => boolean) | null import {createBlockedSpecifierChecker} from 'svelte-docinfo/exports.js'; Build a predicate deciding whether an export specifier is blocked, per
Node's resolution semantics: an exact (starless) key wins outright, else
the best-matching wildcard key (comparePatternKeys) decides — and when
that winner's target is null, the subpath is not exported.
Blocking is only observable when blocked keys exist, so this returns
null for the common no-blocked-keys case and callers skip specifier
computation entirely.
Exported for consumers reading ParsedExports.blocked directly — this is
the one implementation of the interpretation rule.
parsed
returns
((specifier: string) => boolean) | null