import type { UserYaml } from "../bot/user-registry.js"; /** * v1.3.3 §B / v1.3.4 §F2 — expand per-user brief registrations. Pure (inputs * injected) so it is unit-testable. * * v1.3.4 correction: there is no org-common "#workflow" brief. **Every** user * receives the personalizable built-ins (the `user-brief` crons — morning/ * evening) in their own `works-` channel. `timezone` and the `crons` * block are per-user *overrides* (tz / time / per-brief enable), not an opt-in * gate. A brief is only skipped when explicitly disabled or when no default * time is supplied (a disabled workspace brief omits its time). */ export interface ResolvedUserCron { orgSlug: string; handle: string; cronId: string; name: string; emoji: string; expr: string; timezone: string; /** Target channel — the user's own works-. */ channel: string; } export interface UserCronDefaults { tz: string; /** Default brief times keyed by cron id. */ times: Record; } export declare function resolveUserCrons(orgs: { slug: string; users: UserYaml[]; }[], defaults: UserCronDefaults): ResolvedUserCron[];