/**
 * OpenClaw-style partial session row updates: merge tags and shallow-merge customData.
 */
import type { SessionMetadata } from './types.js';
export type SessionPatchBody = {
    name?: string;
    tags?: string[];
    /** When true, `tags` replaces the tag list; otherwise tags are union-merged. */
    replaceTags?: boolean;
    customData?: Record<string, unknown>;
};
export declare function applySessionPatchToMetadata(existing: SessionMetadata, patch: SessionPatchBody): Partial<SessionMetadata>;
