import type { ExtensionContext } from "@earendil-works/pi-coding-agent"; import type { FabricProgramTasks } from "../core/program-tasks.js"; import type { FabricShellJobStore } from "../core/shell-jobs.js"; interface ShellHangKeyOptions { enabled: () => boolean; ownsInput: () => boolean; jobs: () => FabricShellJobStore | undefined; programs?: () => FabricProgramTasks | undefined; } /** * Spill or kill a nested shell that is still waiting, without a jobs API. With * no shell waiting, Ctrl+B twice from an empty editor moves the running * `fabric_exec` program to the background instead. A non-empty editor keeps * Ctrl+B as cursor-left. */ export declare function installFabricShellHangKeys(context: ExtensionContext, options: ShellHangKeyOptions): () => void; export {}; //# sourceMappingURL=shell-hang-keys.d.ts.map