import { Axis, EasingType, HNode, LoopBehaviour, Vec3 } from '@hiberworld/code-kit';
import { DefaultOptions, Duration } from '.';
export interface SpinOptions extends DefaultOptions {
    duration: Duration;
    easing: EasingType;
    direction: number;
    axis: Axis;
    progress: number;
    speedMultiplier: number;
    loopBehaviour: LoopBehaviour;
    autoWrap: boolean;
    offset?: Vec3;
}
/**
 * Helper to animated an objects rotation.
 * @example
 * ```
  let spr: HNode = getPrefab({ id: 'sphere_01', p: [0, 2, 8], r: [0, 0, 40] });
  spr = getSpinning(spr);
 * ```
 */
export declare const getSpinning: (target: HNode, options?: Partial<SpinOptions>) => HNode;
//# sourceMappingURL=getSpinning.d.ts.map