export type TriggerInput = { lastResult?: "success" | "failure" | null; hadSuccess?: boolean; };