/**
 * Entity Merge Service (Domain Layer)
 *
 * Handles entity merge operations: validation, observation rewriting,
 * merge tracking, and snapshot cleanup. Extracted from actions.ts and
 * server.ts to enforce layer boundaries.
 */
export interface MergeEntitiesParams {
    fromEntityId: string;
    toEntityId: string;
    userId: string;
    mergeReason?: string;
    mergedBy: string;
}
export interface MergeResult {
    observations_moved: number;
    merged_at: string;
}
export declare function mergeEntities(params: MergeEntitiesParams): Promise<MergeResult>;
export declare class EntityNotFoundError extends Error {
    constructor(message: string);
}
export declare class EntityAlreadyMergedError extends Error {
    constructor(message: string);
}
//# sourceMappingURL=entity_merge.d.ts.map