import type { CommandResult } from './types.js'; export type AttachingRun = (command: string, attach?: string) => CommandResult; export declare const attaching: (cwd: string, run: (command: string) => CommandResult) => AttachingRun;