import { type queryWorkItems, type WorkItem } from "../work-items/store.js"; import { type Label } from "../work-items/labels.js"; export declare function compactWorkItem(item: WorkItem, extras?: { blocked: Set; labels: Map; kept: Set; recovery?: Map; }): Record; /** One page of compact rows, with every batched projection they read taken in * ONE query each across the whole page rather than per item. */ export declare function workItemPagePayload(page: ReturnType): Record; export declare function fullWorkItemPayload(item: WorkItem): Record; /** The board/attention enrichment contract: only the two projections those * surfaces read. Heavy comments, relations, labels and approval history stay * behind the single-item detail route. */ export declare function openWorkItemPayload(item: WorkItem, events?: import("../work-items/store.js").WorkItemEvent[]): Record; //# sourceMappingURL=work-item-payload.d.ts.map