/** Repo-relative location fixed by the owner decision on #211. */ export declare const PRIORITIES_DOC_RELPATH = "docs/PRIORITIES.md"; export interface WorkClass { /** 1-based rank — the doc's ordered list position (first cell). */ rank: number; /** The work-class name, e.g. "Bug fixes". */ workClass: string; /** WIP share as written in the doc (e.g. "50%"), or "" when the cell is empty. */ wipShare: string; /** Free-form notes cell, "" when absent. */ notes: string; } export interface PrioritiesDoc { found: boolean; /** Absolute path checked (present whether or not the file exists). */ path: string; /** Ordered greenlit work classes; empty when not found or no table parsed. */ classes: WorkClass[]; /** Set when the file exists but no work-class table row parsed — the * reviewer must treat this exactly like `found: false` (off-doc). */ warning?: string; } /** * Parse the ordered work-class table out of the doc's markdown. * * Schema (owner decision, #211): a plain ordered list + WIP share, kept as the * first markdown table whose header row contains a "work class" column: * * | # | Work class | WIP share | Notes | * * Rows with a non-numeric first cell are skipped (they're prose in a table, * not a ranked class). Pure — no fs/git — so tests feed it strings. */ export declare function parseWorkClasses(markdown: string): WorkClass[]; /** Resolve the repo root for the doc lookup; falls back to cwd outside a repo. */ export declare function repoRoot(): string; /** Load + parse the standing priorities doc from the repo root. */ export declare function loadPrioritiesDoc(root?: string): PrioritiesDoc; //# sourceMappingURL=priorities.d.ts.map