import { PlacementValueArray, PlacementPropValues, PlacementStringValues } from './PositionPropTypes'; /** * --- * category: utilities/position * --- * Given a string or array of one or two placement values, mirrors the placement * vertically or horizontally based on the first value. * * Examples * ```js-code * mirrorPlacement('top start') // input * ['bottom', 'start'] // output * * mirrorPlacement('top start', ' ') // input * 'bottom start' //output * ``` * * @param {string|Array} placement - a string of the form '`` ``' or array [``, ``] * @param {string} delimiter - when provided, a value with which the result array will be joined * @returns {string|Array} - an array of values or, if the delimiter was supplied, a string of * delimiter separated values * * @module mirrorPlacement **/ declare function mirrorPlacement(placement: PlacementValueArray | PlacementStringValues, delimiter?: D): D extends string ? D extends ' ' ? PlacementPropValues : string : PlacementValueArray; export default mirrorPlacement; export { mirrorPlacement }; //# sourceMappingURL=mirrorPlacement.d.ts.map