import type { UiServiceDeps, Result, IssueInfo, IssueActionArgs, IssuesDeleteReturn, IssuesHandleReturn } from '../types.js'; /** * Remove a single issue's block (its `- **…**` title line + following body lines, plus the blank * separator that followed it) from the markdown. Every other line is byte-preserved. Throws * `not-found` for an unknown id. */ export declare function removeIssueEntry(md: string, id: string): { md: string; entry: IssueInfo; }; /** * Build the opening prompt for a "处理" session: the issue's full entry text (title + body, * verbatim) plus where it came from. The entry is removed from ISSUES.md at handle time (design: * 处理/删除后即离场), so the prompt states the session now owns it — no re-registration needed. */ export declare function buildIssuePrompt(projectId: string, entry: IssueInfo): string; export declare function handleIssuesDelete(deps: UiServiceDeps, args: IssueActionArgs): Promise>; export declare function handleIssuesHandle(deps: UiServiceDeps, args: IssueActionArgs): Promise>;