import { CDModel } from '@layoutbase/core';
declare type History = {
    redo: () => void;
    undo: () => void;
    push: (cd: CDModel) => void;
    replace: (cd: CDModel) => void;
    reset: (cd: CDModel) => void;
    length: number;
    current: CDModel;
};
export declare const useHistory: (cdModel: CDModel) => History;
export {};
