import { vec3 } from "@intelligentgraphics/ig.gfx.core";
import { Operation, TouchStartRequest, TouchMotionRequest, TouchEndRequest, MotionResult, EndResult } from "./Operation";
/** An operation that returns the objects to their initial place (position and orientation). */
export declare class CancelOperation implements Operation {
    /** The inital transfomation in radians, which will be restored in executeEnd. */
    private initialTransformation;
    /** The other operation to be performed (except at the end). */
    private operation;
    /**
     * The constructor.
     * @param operation The operation that will be used in start and motion phase
     * @param positions The initial positions
     * @param rotations The inital rotations
     */
    constructor(operation: Operation, positions: vec3[], rotations: vec3[]);
    executeStart(request: TouchStartRequest): void;
    executeMotion(request: TouchMotionRequest): MotionResult;
    executeEnd(request: TouchEndRequest): EndResult;
}
