API Surface Issue
Category
Unused export
Summary
- File:
src/dind-probe.ts
- Symbol:
ProbeResult (interface, line 37)
- Issue: The
ProbeResult interface is exported but never imported by any other module. It is used only as an internal return-type annotation for probeSplitFilesystem within the same file.
Evidence
Declaration in src/dind-probe.ts:
export interface ProbeResult {
// ...
}
export async function probeSplitFilesystem(probeDir: string): Promise<ProbeResult> {
Grep confirms zero imports outside the declaring file:
$ grep -rw "ProbeResult" src/ --include="*.ts"
src/dind-probe.ts:export interface ProbeResult {
src/dind-probe.ts:export async function probeSplitFilesystem(probeDir: string): Promise<ProbeResult> {
No file imports ProbeResult — not from src/commands/main-action.ts (the only caller of probeSplitFilesystem), not from any test file.
Recommended Fix
Remove the export keyword from the interface declaration:
// Before
export interface ProbeResult { ... }
// After
interface ProbeResult { ... }
No other changes needed — probeSplitFilesystem return type continues to work with the unexported interface.
Impact
- Dead code risk: Low — interface carries no runtime cost, but pollutes the public API surface
- Maintenance burden: Low — callers may mistakenly type against this interface instead of inferring the return type
Detected by Export Audit workflow. Triggered by push to main on 2026-05-21
Generated by API Surface & Export Audit · ● 11.2M · ◷
API Surface Issue
Category
Unused export
Summary
src/dind-probe.tsProbeResult(interface, line 37)ProbeResultinterface is exported but never imported by any other module. It is used only as an internal return-type annotation forprobeSplitFilesystemwithin the same file.Evidence
Declaration in
src/dind-probe.ts:Grep confirms zero imports outside the declaring file:
No file imports
ProbeResult— not fromsrc/commands/main-action.ts(the only caller ofprobeSplitFilesystem), not from any test file.Recommended Fix
Remove the
exportkeyword from the interface declaration:No other changes needed —
probeSplitFilesystemreturn type continues to work with the unexported interface.Impact
Detected by Export Audit workflow. Triggered by push to main on 2026-05-21