import { TSESTree } from '@typescript-eslint/types'
/**
 * Computes array elements for the given expression.
 *
 * @param expression - The expression to compute array elements from.
 * @returns An array of elements if the expression is an array or a new
 *   expression, otherwise null.
 */
export declare function computeArrayElements(
  expression: TSESTree.ArrayExpression | TSESTree.NewExpression,
): (TSESTree.SpreadElement | TSESTree.Expression | null)[] | null
