import { type ArrayOrValue } from '../array'; /** * Creates a flattened array of merged objects by computing the cross-product of arrays a and b, * merging each pair with spread syntax. * * Convenience wrapper around {@link objectMergeMatrix} that flattens the result. * * @param a - First array (or single value) of partial objects. * @param b - Second array (or single value) of partial objects. * @returns Flat array of merged objects. */ export declare function objectFlatMergeMatrix(a: ArrayOrValue>, b: ArrayOrValue>): (Partial & Partial)[]; /** * Creates a 2D matrix of merged objects from the cross-product of arrays a and b. * * Each element in the matrix is the spread merge of one item from a with one item from b. * If either input is null/undefined, returns the other as a single-row matrix. * * @param a - First array (or single value) of partial objects. * @param b - Second array (or single value) of partial objects. * @returns Two-dimensional array where `result[i][j]` is `{ ...a[i], ...b[j] }`. */ export declare function objectMergeMatrix(a: ArrayOrValue>, b: ArrayOrValue>): (Partial & Partial)[][];