Summary
Three exported types in src/config/mount-policy.ts are never used outside their defining file:
CredentialType (line 19)
CredentialEntry (line 22)
MountPolicy (line 39)
Evidence
Verified by cross-file usage analysis:
CredentialType: used_outside_defining_file=0_files
CredentialEntry: used_outside_defining_file=0_files
MountPolicy: marked as unused by ts-prune
All three types are defined and used only within mount-policy.ts itself.
Impact
Dead code risk: Medium-High
These are internal implementation types for the mount policy system. Making them public API creates maintenance burden and potential for misuse.
Recommendation
Remove export keyword from these type definitions to clarify they are implementation details, or document why they need to be part of the public API.
Generated by API Surface & Export Audit · sonnet45 · 21.1 AIC · ⊞ 5.5K · ◷
Summary
Three exported types in
src/config/mount-policy.tsare never used outside their defining file:CredentialType(line 19)CredentialEntry(line 22)MountPolicy(line 39)Evidence
Verified by cross-file usage analysis:
CredentialType: used_outside_defining_file=0_filesCredentialEntry: used_outside_defining_file=0_filesMountPolicy: marked as unused by ts-pruneAll three types are defined and used only within
mount-policy.tsitself.Impact
Dead code risk: Medium-High
These are internal implementation types for the mount policy system. Making them public API creates maintenance burden and potential for misuse.
Recommendation
Remove
exportkeyword from these type definitions to clarify they are implementation details, or document why they need to be part of the public API.