import { HNode } from '@hiberworld/code-kit';
import { IDefaultOptions } from '.';
export type StackDirections = 'UP' | 'DOWN' | 'RIGHT' | 'LEFT' | 'IN' | 'OUT';
export interface iRepeatOptions {
    repeats: number;
    direction: StackDirections;
}
export interface iStackOptions extends IDefaultOptions {
    repeats: iRepeatOptions | iRepeatOptions[] | undefined;
}
/**
 *
 * Stack prefab or a group on each other
 * @example
 * ```
  const sCube = getPrefab({ id: 'scaffoldingcube_01' });
  const rig = getStack(sCube, {
    p: [5, 0, 0],
    repeats: [
      {
        repeats: 3,
        direction: 'UP',
      },
      {
        repeats: 5,
        direction: 'RIGHT',
      },
      {
        repeats: 3,
        direction: 'DOWN',
      },
    ],
  });
  addTo(root, rig);
 * ```
 */
export declare const getStack: (toStack: HNode, opt?: Partial<iStackOptions>) => HNode;
//# sourceMappingURL=getStack.d.ts.map