import { EditorAction } from '../types';
/**
 * 检查两个操作是否可以合并
 */
export declare function canMergeActions(prevAction: EditorAction, currentAction: EditorAction, timeWindow?: number): boolean;
/**
 * 合并两个操作
 */
export declare function mergeActions(prevAction: EditorAction, currentAction: EditorAction): EditorAction;
/**
 * 记录操作（用于合并检查）
 */
export declare function recordAction(action: EditorAction): void;
/**
 * 清除操作记录
 */
export declare function clearActionRecord(): void;
/**
 * 获取操作的显示名称
 */
export declare function getActionDisplayName(actionType: string): string;
/**
 * 检查操作是否会影响组件
 */
export declare function isComponentAction(actionType: string): boolean;
/**
 * 检查操作是否会影响画布
 */
export declare function isCanvasAction(actionType: string): boolean;
/**
 * 防抖函数，用于延迟执行历史记录保存
 */
export declare function debounce<T extends (...args: any[]) => any>(func: T, wait: number): (...args: Parameters<T>) => void;
