import Animator from "parsegraph-animator";
import Viewport from "./Viewport";
export default class CameraFilter extends Animator {
    _viewport: Viewport;
    _cameraChangeVersion: number;
    _lastNodePosition: any;
    _lastCameraPosition: any;
    _nodePosition: any;
    _cameraPosition: any;
    _requiredScale: number;
    constructor(viewport: Viewport);
    focusedNode(): import("./Node").default<import("./DefaultNodeType").default>;
    getNodePosition(): {
        x: number;
        y: number;
        scale: number;
    };
    getRequiredScale(): number;
    savePosition(): void;
    viewport(): Viewport;
    camera(): import("parsegraph-camera").default;
    latestChangeVersion(): number;
    actualChangeVersion(): number;
    restart(): void;
    getFocusedCameraScale(): number;
    /**
     * @param t {number} the percentage done of the animation. This is a value between 0 and 1, inclusive.
     */
    animate(t: number): void;
    /**
     * Adjust the camera based on the current time, to focus on the focused
     * node.
     *
     * @return {boolean} true if another frame is needed (i.e. animating)
     */
    render(): boolean;
}
//# sourceMappingURL=CameraFilter.d.ts.map