import type { ExecFileFn } from './worktree-sweep.js'; export { classifyIgnoredEntry, isSensitiveLeaf, type IgnoredEntryClass, } from './worktree-ignored-patterns.js'; export type IgnoredProbeVerdict = { protect: false; } | { protect: true; because: 'non-rebuildable-entry'; detail: string; } | { protect: true; because: 'git-failed'; detail: string; }; export declare function isRebuildableIgnoredEntry(relPath: string): boolean; export declare function probeNonRebuildableIgnoredFiles(execFile: ExecFileFn, worktreePath: string): Promise; export declare function hasNonRebuildableIgnoredFiles(execFile: ExecFileFn, worktreePath: string): Promise;