/** Reserve roster & replacement lifecycle (UI: "Reserve trainee", never "backup"). */
export declare const TRAINEE_ROSTER_ROLES: readonly ["active", "reserve", "replaced_withdrawn", "reserve_withdrawn"];
export type TraineeRosterRole = (typeof TRAINEE_ROSTER_ROLES)[number];
export declare const TRACKED_ROSTER_ROLES: TraineeRosterRole[];
export declare const WITHDRAWN_ROSTER_ROLES: TraineeRosterRole[];
export declare const TRAINEE_REPLACEMENT_WINDOW_DAYS_KEY = "trainee.replacement_window_days";
export declare function parseRosterRole(raw: string | null | undefined): TraineeRosterRole;
export declare function rosterRoleIsTrackedMember(role: string | null | undefined): boolean;
export declare function rosterRoleIsWithdrawn(role: string | null | undefined): boolean;
/** @deprecated Use rosterRoleIsTrackedMember — active and reserve are both tracked for KPI/outcomes. */
export declare function countsAsActiveCohortMember(role: string | null | undefined): boolean;
/** Prisma `in` filter for tracked roster rows. */
export declare function trackedRosterRoleFilter(): {
    in: string[];
};
/** Included in attendance KPI rate (present ÷ possible). All tracked members from batch start. */
export declare function rosterRoleCountsAttendanceSlots(role: string): boolean;
/** Included in default enrolled/registered indicator counts and dropout projection. */
export declare function rosterRoleCountsEnrolledKpi(role: string): boolean;
/** Included in dropout projection rows. */
export declare function rosterRoleCountsDropout(role: string): boolean;
/** Shown on daily attendance roster / CSV / outcome coverage expected slots. */
export declare function rosterRoleReceivesAttendanceCapture(role: string): boolean;
export declare function dateOnlyLocal(d: Date): Date;
/** Last calendar day inclusive for replacements: anchor + windowDays (e.g. start + 14 => two-week window including start day as day 0). */
export declare function replacementDeadlineInclusive(anchorStart: Date, windowDays: number): Date;
export declare function isWithinReplacementWindow(anchorStart: Date, windowDays: number, now: Date): boolean;
//# sourceMappingURL=traineeRoster.d.ts.map