import { type Backlog, type IssueRecord } from "../backlog/lib.js"; import type { FixCluster } from "../fix/cluster.js"; import { type IssueExtras } from "./context.js"; import type { ResolvedConfig } from "../types.js"; export type { IssueDocument, IssueShot, ShotSide } from "./record.js"; /** Write one issue's folder: its record, its document, and its screenshots. */ export declare function materializeIssue(resolved: ResolvedConfig, cluster: FixCluster, record: IssueRecord, extras?: IssueExtras): Promise; /** * Rewrite every issue's folder from the backlog. Called on save, so the folders * never drift from the record they project. */ export declare function materializeIssues(resolved: ResolvedConfig, backlog: Backlog): Promise;