#!/usr/bin/env node /** * Hook handler for warning about low disk space when git worktrees exist * * This script is called by Claude Code SessionStart hook. * It checks if disk space is <10% free and worktrees exist, * and prompts the user about cleanup. */ /** * Output hook result with additionalContext for SessionStart hooks * This injects context into the Claude session that the model can see * @param args - Configuration arguments * @param args.message - Message to add to Claude session context */ declare const logToClaudeSession: (args: { message: string; }) => void; /** * Main entry point * @param args - Configuration arguments * @param args.cwd - Current working directory (optional) */ export declare const main: (args?: { cwd?: string | null; }) => Promise; export { logToClaudeSession }; //# sourceMappingURL=worktree-cleanup.d.ts.map