import { HNode } from '@hiberworld/code-kit';
/**
 * Distribute prefab or groups horizontally
 * Good for placing art on walls
 * @example
 * ```ts
  const decoWrapper = getGroup();
  addTo(root, decoWrapper);
  for (let index = 0; index < 6; index++) {
    addTo(decoWrapper, getPrefab({ id: 'tron_q1_blue', p: [index, -1.05, 0.75], r: [90, 0, 0], s: [1, 0.6, 1] }));
  }
  if (decoWrapper.children) distributeHorizontally(decoWrapper.children, 4);

  // Alternative ---

  const arts = [];
  arts.push(getFramedImage({ p: [0, 1, 0], src: 'https://cdn.hibervr.com/demo/img/amanda.jpg', ratio: 1000 / 560 }));
  arts.push(getFramedImage({ p: [0, 1, 0], src: 'https://cdn.hibervr.com/demo/img/earth.jpg', ratio: 662 / 1000 }));
  arts.push(getFramedImage({ p: [0, 1, 0], src: 'https://cdn.hibervr.com/demo/img/Nighthawks.jpg', ratio: 1000 / 567 }));
  distributeHorizontally(arts, 10);
  addTo(wall, arts);

 * ```
 */
export declare const distributeHorizontally: (toAlign: HNode[], size: number) => void;
//# sourceMappingURL=distributeHorizontally.d.ts.map