import { Axis, HNode } from '@hiberworld/code-kit';
import { Duration, DefaultOptions } from '.';
export interface IFlappingOptions extends DefaultOptions {
    angle: number;
    axis: Axis;
    duration: Duration | number;
    progress: number;
    autoWrap: boolean;
}
/**
 * Make something flap or wiggle
 * @example
 * ```ts
  // Basic flapping
  let spr: HNode = getPrefab({ id: 'sphere_01', p: [3, 1, 10], r: [0, 0, 40] });
  spr = getFlapping(spr);
  world.add(spr);

  // Create a wing of a meringue
  const flapWrap = getGroup({
    children: [getPrefab({ id: 'meringue_01', r: [30, 180, 180], p: [0, 2, 0], s: [0.1, 1, 1] })],
    p: [0, 0, 5],
    r: [0, 0, 20],
  });
  addTo(world, getFlapping(flapWrap, { angle: 20, axis: 'x', duration: 0.5 }));
 * ```
 * ![flapping](https://user-images.githubusercontent.com/1092077/214518839-3786371d-9acf-44bb-b128-da56f7653157.gif)
 */
export declare const getFlapping: (target: HNode, options?: Partial<IFlappingOptions>) => HNode;
//# sourceMappingURL=getFlapping.d.ts.map