export function isTerminalTaskStatus(status) {
    return status === 'completed';
}
export function assertTaskStatus(status) {
    switch (status) {
        case 'pending':
        case 'in_progress':
        case 'completed':
            return;
        default: {
            const _exhaustive = status;
            throw new Error(`Unknown TaskStatus: ${_exhaustive}`);
        }
    }
}
//# sourceMappingURL=index.js.map