/**
 * Test oracle for user-message composition. Predicts the ordered block kinds
 * emitted for submit options plus prior-context eligibility.
 *
 * The composer must not call this helper; tests compare the two independently
 * so ordering regressions are caught.
 */
export function expectedBlockKinds(input) {
    const out = ['query'];
    if (input.workbookSummary && input.workbookSummary.length > 0) {
        out.push('workbook-summary');
    }
    if (input.rangeRestrictions && input.rangeRestrictions.length > 0) {
        out.push('range-restrictions');
    }
    else if (input.focusedRange) {
        out.push('focused-range');
    }
    if (input.fileUploads && input.fileUploads.length > 0) {
        out.push('uploads');
    }
    if (input.contextWarningEligible) {
        out.push('context-update-warning');
    }
    return out;
}
//# sourceMappingURL=expected-block-kinds.js.map