import { type ResolvedConfig } from "../lib/config.ts"; export interface CleanupWorkspaceOptions { task: string; /** Default false. The automated cleanup path keeps in-flight uncommitted work. */ force?: boolean; } export interface CleanupAllOptions { /** Default false. Force-remove even worktrees with uncommitted work. */ force?: boolean; } export declare function cleanupWorkspace(config: ResolvedConfig, options: CleanupWorkspaceOptions): Promise; /** * Tear down every local worktree whose task is not currently in use — that is, * has no live workspace session. Worktrees backed by a running session are left * untouched. Uncommitted work is still protected by teardown's dirtiness guard * unless `--force` is passed. */ export declare function cleanupAllWorkspaces(config: ResolvedConfig, options: CleanupAllOptions): Promise; export declare function cleanupWorkspaceCli(argv: string[]): Promise; //# sourceMappingURL=cleanupWorkspace.d.ts.map