/** * profile-status — entity profiles past their refresh cadence (#1502). * * Port of profiles/find_stale_profiles.py: reads PROF-{P,O,G,F,S} frontmatter * via the shared parser, computes staleness with the shared computeStaleness * helper, and reports most-overdue-first. Profile-specific semantics, faithful * to the source: * - missing `refresh-cadence` defaults to `annual`; an unknown cadence word is * also treated as `annual` (find_stale's CADENCE_DAYS.get(cadence, 365)); * - `on-demand` is never stale; * - stale when overdue ≥ 0 (at or past the window), vs radar's strictly-> 0. * * @source historical: profiles/find_stale_profiles.py */ export interface ProfileStatusRow { profId: string; name: string; type: string; cadence: string; lastRefreshed: string; daysSince: number | null; overdueDays: number | null; isStale: boolean; } export type ProfileStatusFormat = 'table' | 'csv' | 'list'; export interface ProfileStatusOptions { today?: string; /** Only return profiles that are overdue (mirrors find_stale_profiles output). */ staleOnly?: boolean; } /** One status row per profile that has a `last-refreshed`, sorted most-overdue-first. */ export declare function profileStatusRows(corpusRoot: string, opts?: ProfileStatusOptions): ProfileStatusRow[]; /** Render profile-status rows as a markdown table, CSV, or plain list. */ export declare function renderProfileStatus(rows: ProfileStatusRow[], format?: ProfileStatusFormat): string; //# sourceMappingURL=profile-status.d.ts.map