import { IComponentDocs, TComponentPreview, TNormalizedMatrix } from '../types'; export declare class TestMatrixUtils { static createTestMatrixFromArr(params: { matrixNorm: TNormalizedMatrix[]; parentProps?: Record; }): Record[]; /** * It takes config with props values to iterate, and creates all possible combinations. * E.g.: * { p1: { values: [1, 2] }, p2: { values: ['a', 'b'] } } * --> * [{ p1: 1, p2: 'a' }, { p1: 1, p2: 'b' },{ p1: 2, p2: 'a' }, { p1: 2, p2: 'b' }] * * @param params.matrixConfig props config to be iterated * @param params.parentProps parent props which are part of current iteration */ static createTestMatrix(params: { matrixNorm: TNormalizedMatrix; parentProps?: Record; }): Record[]; /** * Returns map of prop names to array of prop values. * I.e. "examples" array gets converted to "values" array. * @param params */ static normalizePreviewPropsMatrix(params: { matrix: TComponentPreview['matrix']; docs: IComponentDocs; }): TNormalizedMatrix[]; } //# sourceMappingURL=testMatrixUtils.d.ts.map