export function decideSubmitConfirmationAction(input) {
    if (input.failureReason)
        return { kind: 'notify-hard-failure', reason: input.failureReason };
    if (input.recheckSubmitted)
        return { kind: 'suppress-confirmed' };
    if (input.usageLimitDetected)
        return { kind: 'suppress-usage-limit' };
    if (input.activityEvidence)
        return { kind: 'suppress-active', evidence: input.activityEvidence };
    return { kind: 'notify-stuck' };
}
//# sourceMappingURL=submit-confirmation.js.map