/** * 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; hiddenFromSessionList?: boolean; projectId?: string; }; export declare function applySessionPatchToMetadata(existing: SessionMetadata, patch: SessionPatchBody): Partial;