/** * Enrich-issues use-case: given a list of issue names, look up each one's * status and merged-state to build IssueRow[] for the selector. Merged-state * is only relevant for done issues (and only computed for them, to avoid * unnecessary git calls). */ import type { FsPort } from "../ports/fs.ts"; import type { GitMergePort } from "../ports/git-merge.ts"; import type { IssueRow } from "../domain/issue-listing.ts"; export interface EnrichIssuesDeps { fs: FsPort; git: GitMergePort; } export interface EnrichIssuesOpts { issues: string[]; diabloDir: string; targetBranch: string; branchPrefix: string; } /** * Enriches a list of issue names with their statuses and merged-states, * returning IssueRow[] suitable for the issue selector. Preserves input order. * For done issues, attempts to determine merged-state via git; for non-done * issues, merged is always false (irrelevant for non-done badges). */ export declare function enrichIssues(deps: EnrichIssuesDeps, opts: EnrichIssuesOpts): Promise;