export type WeekStartSource = "account" | "cache" | "fallback"; export interface WeekStart { /** 0=Sunday … 6=Saturday. */ day: number; label: string; source: WeekStartSource; } /** * Resolve the account's week-start day, preferring a fresh cache entry. * Never throws: any failure degrades to Monday with `source: "fallback"`, which * the caller discloses in its output. */ export declare function resolveWeekStart(account: string): Promise;