import { RoutinePayload } from '../aiCfoViewPayload'; import { Routine } from '../aiCfoViewState'; /** * A routine is usable if it has an identity. That is the whole bar. * * `schedule_id` and `name` are what every consumer dereferences, so those are * what this establishes. * * Deliberately NOT also requiring `macro_id`. A routine whose skill was deleted * can come back without one — and it is still an active schedule emailing the * user's financials. Dropping it here would make it invisible in the UI while * it kept running, with no way for anyone to turn it off. Showing a broken row * that can be paused or deleted is strictly better than hiding a live one. */ export declare const isRoutinePayload: (value: unknown) => value is RoutinePayload; /** Map one routine off the wire. Every default here is a deliberate reading. */ export declare const toRoutine: (payload: RoutinePayload) => Routine;