import type { ReactDescT } from '../propTypes/types.js'; type DataTestId = { [key: string]: string | DataTestId; }; type PropsPerDataTestIdPropTypes = { [key: string]: ReactDescT['shape']; }; /** * @param {object} dataTestIdObj - object in which the values rapresent the keys of the output object * @returns {object} output - an object in which for each leaf value of the input object there is a key with aria-* and data-* props.shape definition * @example * const dataTestIdObj = { * WHATEVER: 'data-testid', * NESTED:{ * WHATEVER2: 'data-testid-2', * WHATEVER3: 'data-testid-3', * } * } * * const propsPerDataTestIdPropTypes = getPropsPerDatatestIdPropTypes(dataTestIdObj); * // propsPerDataTestIdPropTypes will be * { * 'data-testid': PropTypes.shape({ * 'aria-*': PropTypes.string, * 'data-*': PropTypes.string, * }), * 'data-testid-2': PropTypes.shape({ * 'aria-*': PropTypes.string, * 'data-*': PropTypes.string, * }) * 'data-testid-3': PropTypes.shape({ * 'aria-*': PropTypes.string, * 'data-*': PropTypes.string, * }) * } * @fires getLeafValues */ export declare const getPropsPerDatatestIdPropTypes: (dataTestIdObj: DataTestId) => PropsPerDataTestIdPropTypes; export {};