//#region src/domains/run/workflow/functions/scheduledTriggerRunner.d.ts
type ScheduledTriggerRunnerPayload = {
  tenantId: string;
  projectId: string;
  agentId: string;
  scheduledTriggerId: string;
};
/**
 * Main workflow function - runs a scheduled trigger.
 * For cron triggers, this loops indefinitely until disabled/deleted.
 * For one-time triggers, it executes once and completes.
 *
 */
declare function _scheduledTriggerRunnerWorkflow(payload: ScheduledTriggerRunnerPayload): Promise<{
  status: string;
  reason: string | undefined;
  invocationId?: undefined;
} | {
  status: string;
  invocationId: string;
  reason?: undefined;
}>;
declare const scheduledTriggerRunnerWorkflow: typeof _scheduledTriggerRunnerWorkflow & {
  workflowId: string;
};
//#endregion
export { ScheduledTriggerRunnerPayload, scheduledTriggerRunnerWorkflow };