import { z } from 'zod'; import type { SynomemCredentialProvider } from './remote.js'; export declare const importBundleSchema: z.ZodObject<{ version: z.ZodLiteral<1>; sourceWorkspaceId: z.ZodString; checksum: z.ZodString; events: z.ZodArray; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"reply.created">; rootId: z.ZodString; parentId: z.ZodNullable; body: z.ZodString; mentions: z.ZodArray; id: z.ZodString; }, z.core.$strict>>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"reply.deleted">; rootId: z.ZodString; replyId: z.ZodString; reason: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"reaction.added">; rootId: z.ZodString; targetId: z.ZodString; code: z.ZodEnum<{ thumbs_up: "thumbs_up"; eyes: "eyes"; complete: "complete"; celebrate: "celebrate"; laugh: "laugh"; thinking: "thinking"; useful: "useful"; }>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; rootId: z.ZodString; targetId: z.ZodString; code: z.ZodEnum<{ thumbs_up: "thumbs_up"; eyes: "eyes"; complete: "complete"; celebrate: "celebrate"; laugh: "laugh"; thinking: "thinking"; useful: "useful"; }>; type: z.ZodLiteral<"reaction.removed">; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; mentions: z.ZodOptional; id: z.ZodString; }, z.core.$strict>>>; title: z.ZodString; body: z.ZodString; tags: z.ZodOptional>; topicIds: z.ZodOptional>; type: z.ZodLiteral<"post.created">; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; mentions: z.ZodOptional; id: z.ZodString; }, z.core.$strict>>>; title: z.ZodString; body: z.ZodString; tags: z.ZodOptional>; topicIds: z.ZodOptional>; type: z.ZodLiteral<"post.edited">; postId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"post.archived">; postId: z.ZodString; reason: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"post.acknowledged">; postId: z.ZodString; note: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"post.acknowledgment.withdrawn">; postId: z.ZodString; reason: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"kudos.given">; recipient: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; }>; id: z.ZodString; }, z.core.$strict>; recipientDisplayName: z.ZodString; title: z.ZodString; reason: z.ZodString; evidence: z.ZodOptional; label: z.ZodOptional; value: z.ZodString; }, z.core.$strip>>>; tags: z.ZodOptional>; topicIds: z.ZodOptional>; visibility: z.ZodEnum<{ private: "private"; workspace: "workspace"; public: "public"; }>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"kudos.acknowledged">; kudosId: z.ZodString; recipient: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; }>; id: z.ZodString; }, z.core.$strict>; note: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"kudos.revoked">; kudosId: z.ZodString; reason: z.ZodString; mode: z.ZodEnum<{ "actor-requested": "actor-requested"; administrative: "administrative"; }>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"agent.created">; agent: z.ZodPreprocess; handle: z.ZodString; displayName: z.ZodString; aliases: z.ZodOptional>>>; description: z.ZodOptional; status: z.ZodDefault>; createdAt: z.ZodString; metadata: z.ZodOptional>>>; }, z.core.$strip>, unknown>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"agent.updated">; agentId: z.ZodUnion; changes: z.ZodObject<{ handle: z.ZodOptional; displayName: z.ZodOptional; aliases: z.ZodOptional>>>; description: z.ZodOptional; metadata: z.ZodOptional>>>; status: z.ZodOptional>; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"topic.created">; topic: z.ZodObject<{ id: z.ZodString; displayName: z.ZodString; aliases: z.ZodOptional>>>; status: z.ZodDefault>; createdAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"topic.updated">; topicId: z.ZodString; changes: z.ZodObject<{ displayName: z.ZodOptional; aliases: z.ZodOptional>>>; status: z.ZodOptional>; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"memo.sent">; recipient: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; }>; id: z.ZodString; }, z.core.$strict>; recipientDisplayName: z.ZodString; subject: z.ZodString; body: z.ZodString; tags: z.ZodOptional>; topicIds: z.ZodOptional>; visibility: z.ZodEnum<{ private: "private"; workspace: "workspace"; public: "public"; }>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"memo.read">; memoId: z.ZodString; recipient: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; }>; id: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"memo.archived">; memoId: z.ZodString; recipient: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; }>; id: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"note.created">; owner: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; }>; id: z.ZodString; }, z.core.$strict>; ownerDisplayName: z.ZodString; title: z.ZodString; body: z.ZodString; tags: z.ZodOptional>; topicIds: z.ZodOptional>; visibility: z.ZodLiteral<"private">; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"note.revised">; noteId: z.ZodString; title: z.ZodString; body: z.ZodString; tags: z.ZodOptional>; topicIds: z.ZodOptional>; visibility: z.ZodLiteral<"private">; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"note.archived">; noteId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; title: z.ZodString; description: z.ZodOptional; priority: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>; due: z.ZodOptional; date: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"datetime">; datetime: z.ZodString; timeZone: z.ZodString; }, z.core.$strip>], "kind">>; tags: z.ZodOptional>; topicIds: z.ZodOptional>; visibility: z.ZodEnum<{ private: "private"; workspace: "workspace"; public: "public"; }>; type: z.ZodLiteral<"task.created">; assignee: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; }>; id: z.ZodString; }, z.core.$strict>; assigneeDisplayName: z.ZodString; requiresAcceptance: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; title: z.ZodString; description: z.ZodOptional; priority: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>; due: z.ZodOptional; date: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"datetime">; datetime: z.ZodString; timeZone: z.ZodString; }, z.core.$strip>], "kind">>; tags: z.ZodOptional>; topicIds: z.ZodOptional>; visibility: z.ZodEnum<{ private: "private"; workspace: "workspace"; public: "public"; }>; type: z.ZodLiteral<"task.updated">; taskId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"task.completed">; taskId: z.ZodString; note: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"task.reopened">; taskId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"task.accepted">; taskId: z.ZodString; response: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"task.rejected">; taskId: z.ZodString; response: z.ZodString; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"task.canceled">; taskId: z.ZodString; reason: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"task.decision_overridden">; taskId: z.ZodString; previousStatus: z.ZodEnum<{ open: "open"; rejected: "rejected"; }>; nextStatus: z.ZodEnum<{ open: "open"; rejected: "rejected"; }>; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; title: z.ZodString; details: z.ZodOptional; priority: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>; due: z.ZodOptional; date: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"datetime">; datetime: z.ZodString; timeZone: z.ZodString; }, z.core.$strip>], "kind">>; tags: z.ZodOptional>; topicIds: z.ZodOptional>; type: z.ZodLiteral<"todo.created">; owner: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; }>; id: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; title: z.ZodString; details: z.ZodOptional; priority: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>; due: z.ZodOptional; date: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"datetime">; datetime: z.ZodString; timeZone: z.ZodString; }, z.core.$strip>], "kind">>; tags: z.ZodOptional>; topicIds: z.ZodOptional>; type: z.ZodLiteral<"todo.updated">; todoId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"todo.completed">; todoId: z.ZodString; note: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"todo.reopened">; todoId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"todo.canceled">; todoId: z.ZodString; reason: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; id: z.ZodString; workspaceId: z.ZodString; aggregateId: z.ZodString; aggregateVersion: z.ZodNumber; createdAt: z.ZodString; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; agent: "agent"; system: "system"; }>; id: z.ZodUnion; displayName: z.ZodOptional; }, z.core.$strip>; intervention: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strict>>; idempotencyKey: z.ZodOptional; source: z.ZodOptional; model: z.ZodOptional; sessionId: z.ZodOptional; repository: z.ZodOptional; commit: z.ZodOptional; workingDirectory: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>>>; type: z.ZodLiteral<"todo.archived">; todoId: z.ZodString; }, z.core.$strip>], "type">>; profiles: z.ZodArray; handle: z.ZodString; displayName: z.ZodString; aliases: z.ZodOptional>>>; description: z.ZodOptional; status: z.ZodDefault>; createdAt: z.ZodString; metadata: z.ZodOptional>>>; }, z.core.$strip>, unknown>>; }, z.core.$strict>; export type ImportBundle = z.infer; export interface ImportPreview { planId: string; expiresAt: string; sourceWorkspaceId: string; targetWorkspaceId: string; checksum: string; events: number; profiles: number; bytes: number; } export interface ImportResult extends Omit { importedAt: string; } export declare function importBundleChecksum(bundle: Omit): string; export declare function validateImportBundle(value: unknown, maximumBytes?: number): ImportBundle; /** Create a consistent, read-only SQLite snapshot and derive an import bundle from that snapshot. */ export declare function createLocalImportBundle(fromHome: string): Promise; export interface RemoteImportClientOptions { baseUrl: string; workspaceId: string; /** The selected context; sent as Synomem-Context-Id (identity contract ยง3). */ contextId?: string; credentialProvider: SynomemCredentialProvider; fetch?: typeof fetch; } export declare class RemoteImportClient { private readonly baseUrl; private readonly workspaceId; private readonly contextId; private readonly credentialProvider; private readonly fetchImplementation; constructor(options: RemoteImportClientOptions); preview(bundle: ImportBundle): Promise; confirm(bundle: ImportBundle, planId: string): Promise; private request; } //# sourceMappingURL=import.d.ts.map