import type { DashboardFeatureDetail, DashboardTaskRow } from "../../contracts/dashboard-summary-run.js";
import type { FeatureEnrichment } from "./persistence/feature-registry-queries.js";
import type { TaskEntity } from "./types.js";
export declare function featureDetailsForTask(slugs: string[] | undefined, enrich: Map<string, FeatureEnrichment>): DashboardFeatureDetail[] | null;
export declare function readTaskSeverity(task: TaskEntity): string | null;
export declare function readTaskComponents(task: TaskEntity, featureDetails?: DashboardFeatureDetail[] | null): string[];
export type TaskReadProjection = TaskEntity & {
    severity: string | null;
    components: string[];
};
export declare function projectTaskReadEntity(task: TaskEntity, enrich: Map<string, FeatureEnrichment>): TaskReadProjection;
export declare function projectDashboardTaskRow(task: TaskEntity, enrich: Map<string, FeatureEnrichment>, options?: {
    includePriority?: boolean;
}): DashboardTaskRow;
