/** * `cockpit_scope_remove` MCP tool handler. * * Removes the first task-list line matching the ref from a scope issue's * body. Same envelope and error classes as `cockpit_scope_add`; the shared * `SCOPE_ADD_CONTENDED` code covers both mutations per spec Q5. */ import type { CommandRunner, GhWrapper } from '@generacy-ai/cockpit'; import { type ToolResult } from '../errors.js'; import { type CockpitScopeRemoveInput } from '../schemas.js'; export interface CockpitScopeRemoveData { scope: { owner: string; repo: string; number: number; }; ref: { owner: string; repo: string; number: number; }; alreadyAbsent: boolean; attempts: number; } export interface CockpitScopeRemoveDeps { runner?: CommandRunner; gh?: GhWrapper; } export declare function cockpitScopeRemove(input: CockpitScopeRemoveInput, deps?: CockpitScopeRemoveDeps): Promise>; //# sourceMappingURL=cockpit_scope_remove.d.ts.map