import type { ChoreSignals, ProbeId, ProbeResult } from "../schemas/maintenance.js"; export type ChoreStance = "act" | "report"; export type ChoreKind = "carrying" | "accruing" | "drifting" | "surveying"; export interface ChoreContext { readonly repo: string; readonly probes: ReadonlyMap; readonly signals: ChoreSignals; readonly node: string; readonly nowMs: number; } export interface ChoreFinding { readonly headline: string; readonly detail: readonly string[]; readonly digest: string; readonly severity: "info" | "warning"; readonly why: string; } export interface Chore { readonly id: string; readonly title: string; readonly icon: string; readonly description: string; readonly kind: ChoreKind; readonly criterion: string; readonly applies?: (signals: ChoreSignals) => string | undefined; readonly stance: ChoreStance; readonly needs: readonly ProbeId[]; readonly cadenceMs: number; readonly survey?: true; readonly automation?: { readonly cron: string; readonly guard: string; readonly note: string; readonly report: string; readonly woke: string; }; readonly assess: (context: ChoreContext) => ChoreFinding | undefined; readonly diagnosis: string; readonly goal: string; readonly done: string; } export declare const repoLabel: (repo: string) => string; export declare const repoName: (repo: string) => string; export interface ChoreKindSpec { readonly kind: ChoreKind; readonly label: string; readonly caption: string; } export declare const CHORE_KINDS: readonly ChoreKindSpec[]; export declare const CHORES: readonly Chore[]; export declare const choreById: (id: string) => Chore | undefined; export declare const choreAutomationPrompt: (chore: Chore) => string | undefined; export declare const chorePrompt: (chore: Chore, finding: ChoreFinding, repo: string) => string; //# sourceMappingURL=chores.d.ts.map