import { MindMapError } from '../mind-map-types';
import { DataTree } from '../../../types/data-structures';
/**
 * Validates tree data structure
 * @param data - Unknown data to validate
 * @returns Validated DataTree or MindMapError
 */
export declare function validateTreeData(data: unknown): DataTree | MindMapError;
/**
 * Checks if a value is a MindMapError
 * @param value - Value to check
 * @returns True if value is a MindMapError
 */
export declare function isTreeError(value: unknown): value is MindMapError;
//# sourceMappingURL=validation.d.ts.map