import type { LTApiResult } from '../../types/sdk';
/**
 * Set or update the cron schedule for a YAML workflow.
 *
 * Persists the schedule in the DB and restarts the in-process cron timer via the
 * cron registry so the change takes effect immediately.
 *
 * @param input.id — UUID of the workflow to schedule
 * @param input.cron_schedule — cron expression (e.g. "0 * * * *")
 * @param input.cron_envelope — optional payload passed to each scheduled invocation
 * @param input.execute_as — optional identity override for scheduled executions
 * @returns `{ status: 200, data: YamlWorkflow }` the updated workflow record with cron fields set
 */
export declare function setCronSchedule(input: {
    id: string;
    cron_schedule: string;
    cron_envelope?: any;
    execute_as?: string;
}): Promise<LTApiResult>;
/**
 * Remove the cron schedule from a YAML workflow.
 *
 * Stops the in-process cron timer first, then clears the schedule fields in the DB.
 *
 * @param input.id — UUID of the workflow to unschedule
 * @returns `{ status: 200, data: YamlWorkflow }` the updated workflow record with cron fields cleared
 */
export declare function clearCronSchedule(input: {
    id: string;
}): Promise<LTApiResult>;
/**
 * List all YAML workflows that have a cron schedule, with their live timer status.
 *
 * Fetches all cron-scheduled workflows from the DB and cross-references with the
 * in-process cron registry to determine which timers are actually running.
 *
 * @returns `{ status: 200, data: { schedules: Array<{ id, name, graph_topic, app_id, cron_schedule, execute_as, active }> } }`
 */
export declare function getCronStatus(): Promise<LTApiResult>;
