import { z } from 'zod';
export declare const UpdateBodySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
    t: z.ZodLiteral<"new-message">;
    sid: z.ZodString;
    message: z.ZodObject<{
        id: z.ZodString;
        seq: z.ZodNumber;
        content: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
            t: z.ZodLiteral<"encrypted">;
            c: z.ZodString;
        }, z.core.$strip>, z.ZodObject<{
            t: z.ZodLiteral<"plain">;
            v: z.ZodUnknown;
        }, z.core.$strip>], "t">>;
        localId: z.ZodNullable<z.ZodString>;
        sidechainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        createdAt: z.ZodNumber;
        updatedAt: z.ZodNumber;
    }, z.core.$loose>;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"message-updated">;
    sid: z.ZodString;
    message: z.ZodObject<{
        id: z.ZodString;
        seq: z.ZodNumber;
        content: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
            t: z.ZodLiteral<"encrypted">;
            c: z.ZodString;
        }, z.core.$strip>, z.ZodObject<{
            t: z.ZodLiteral<"plain">;
            v: z.ZodUnknown;
        }, z.core.$strip>], "t">>;
        localId: z.ZodNullable<z.ZodString>;
        sidechainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        createdAt: z.ZodNumber;
        updatedAt: z.ZodNumber;
    }, z.core.$loose>;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"new-session">;
    id: z.ZodString;
    seq: z.ZodNumber;
    metadata: z.ZodString;
    metadataVersion: z.ZodNumber;
    agentState: z.ZodNullable<z.ZodString>;
    agentStateVersion: z.ZodNumber;
    dataEncryptionKey: z.ZodNullable<z.ZodString>;
    active: z.ZodBoolean;
    activeAt: z.ZodNumber;
    createdAt: z.ZodNumber;
    updatedAt: z.ZodNumber;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"update-session">;
    id: z.ZodString;
    metadata: z.ZodOptional<z.ZodObject<{
        value: z.ZodNullable<z.ZodString>;
        version: z.ZodNumber;
    }, z.core.$loose>>;
    agentState: z.ZodOptional<z.ZodObject<{
        value: z.ZodNullable<z.ZodString>;
        version: z.ZodNumber;
    }, z.core.$loose>>;
    lastViewedSessionSeq: z.ZodOptional<z.ZodNumber>;
    pendingPermissionRequestCount: z.ZodOptional<z.ZodNumber>;
    pendingUserActionRequestCount: z.ZodOptional<z.ZodNumber>;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"pending-changed">;
    sid: z.ZodString;
    sessionId: z.ZodOptional<z.ZodString>;
    pendingVersion: z.ZodNumber;
    pendingCount: z.ZodNumber;
    changedByAccountId: z.ZodOptional<z.ZodString>;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"automation-upsert">;
    automationId: z.ZodString;
    version: z.ZodNumber;
    enabled: z.ZodBoolean;
    updatedAt: z.ZodNumber;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"automation-delete">;
    automationId: z.ZodString;
    deletedAt: z.ZodNumber;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"automation-run-updated">;
    runId: z.ZodString;
    automationId: z.ZodString;
    state: z.ZodEnum<{
        failed: "failed";
        running: "running";
        succeeded: "succeeded";
        cancelled: "cancelled";
        queued: "queued";
        claimed: "claimed";
        expired: "expired";
    }>;
    scheduledAt: z.ZodNumber;
    startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    finishedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    updatedAt: z.ZodNumber;
    machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"automation-assignment-updated">;
    machineId: z.ZodString;
    automationId: z.ZodString;
    enabled: z.ZodBoolean;
    updatedAt: z.ZodNumber;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"delete-session">;
    sid: z.ZodString;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"update-account">;
    id: z.ZodString;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"new-machine">;
    machineId: z.ZodString;
    seq: z.ZodNumber;
    metadata: z.ZodString;
    metadataVersion: z.ZodNumber;
    daemonState: z.ZodNullable<z.ZodString>;
    daemonStateVersion: z.ZodNumber;
    dataEncryptionKey: z.ZodNullable<z.ZodString>;
    active: z.ZodBoolean;
    activeAt: z.ZodNumber;
    createdAt: z.ZodNumber;
    updatedAt: z.ZodNumber;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"update-machine">;
    machineId: z.ZodString;
    metadata: z.ZodOptional<z.ZodObject<{
        value: z.ZodString;
        version: z.ZodNumber;
    }, z.core.$loose>>;
    daemonState: z.ZodOptional<z.ZodObject<{
        value: z.ZodString;
        version: z.ZodNumber;
    }, z.core.$loose>>;
    activeAt: z.ZodOptional<z.ZodNumber>;
    active: z.ZodOptional<z.ZodBoolean>;
    revokedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"new-artifact">;
    artifactId: z.ZodString;
    seq: z.ZodNumber;
    header: z.ZodString;
    headerVersion: z.ZodNumber;
    body: z.ZodString;
    bodyVersion: z.ZodNumber;
    dataEncryptionKey: z.ZodString;
    createdAt: z.ZodNumber;
    updatedAt: z.ZodNumber;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"update-artifact">;
    artifactId: z.ZodString;
    header: z.ZodOptional<z.ZodObject<{
        value: z.ZodString;
        version: z.ZodNumber;
    }, z.core.$loose>>;
    body: z.ZodOptional<z.ZodObject<{
        value: z.ZodString;
        version: z.ZodNumber;
    }, z.core.$loose>>;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"delete-artifact">;
    artifactId: z.ZodString;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"relationship-updated">;
    uid: z.ZodString;
    status: z.ZodEnum<{
        none: "none";
        rejected: "rejected";
        pending: "pending";
        requested: "requested";
        friend: "friend";
    }>;
    timestamp: z.ZodNumber;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"new-feed-post">;
    id: z.ZodString;
    body: z.ZodUnknown;
    cursor: z.ZodString;
    createdAt: z.ZodNumber;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"kv-batch-update">;
    changes: z.ZodArray<z.ZodObject<{
        key: z.ZodString;
        value: z.ZodNullable<z.ZodString>;
        version: z.ZodNumber;
    }, z.core.$loose>>;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"session-shared">;
    sessionId: z.ZodString;
    shareId: z.ZodString;
    sharedBy: z.ZodObject<{
        id: z.ZodString;
        firstName: z.ZodNullable<z.ZodString>;
        lastName: z.ZodNullable<z.ZodString>;
        username: z.ZodNullable<z.ZodString>;
        avatar: z.ZodNullable<z.ZodUnknown>;
    }, z.core.$loose>;
    accessLevel: z.ZodEnum<{
        view: "view";
        edit: "edit";
        admin: "admin";
    }>;
    encryptedDataKey: z.ZodOptional<z.ZodString>;
    createdAt: z.ZodNumber;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"session-share-updated">;
    sessionId: z.ZodString;
    shareId: z.ZodString;
    accessLevel: z.ZodEnum<{
        view: "view";
        edit: "edit";
        admin: "admin";
    }>;
    updatedAt: z.ZodNumber;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"session-share-revoked">;
    sessionId: z.ZodString;
    shareId: z.ZodString;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"public-share-created">;
    sessionId: z.ZodString;
    publicShareId: z.ZodString;
    token: z.ZodString;
    expiresAt: z.ZodNullable<z.ZodNumber>;
    maxUses: z.ZodNullable<z.ZodNumber>;
    isConsentRequired: z.ZodBoolean;
    createdAt: z.ZodNumber;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"public-share-updated">;
    sessionId: z.ZodString;
    publicShareId: z.ZodString;
    expiresAt: z.ZodNullable<z.ZodNumber>;
    maxUses: z.ZodNullable<z.ZodNumber>;
    isConsentRequired: z.ZodBoolean;
    updatedAt: z.ZodNumber;
}, z.core.$loose>, z.ZodObject<{
    t: z.ZodLiteral<"public-share-deleted">;
    sessionId: z.ZodString;
}, z.core.$loose>], "t">;
export type UpdateBody = z.infer<typeof UpdateBodySchema>;
export declare const UpdateContainerSchema: z.ZodObject<{
    id: z.ZodString;
    seq: z.ZodNumber;
    createdAt: z.ZodNumber;
    body: z.ZodDiscriminatedUnion<[z.ZodObject<{
        t: z.ZodLiteral<"new-message">;
        sid: z.ZodString;
        message: z.ZodObject<{
            id: z.ZodString;
            seq: z.ZodNumber;
            content: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
                t: z.ZodLiteral<"encrypted">;
                c: z.ZodString;
            }, z.core.$strip>, z.ZodObject<{
                t: z.ZodLiteral<"plain">;
                v: z.ZodUnknown;
            }, z.core.$strip>], "t">>;
            localId: z.ZodNullable<z.ZodString>;
            sidechainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            createdAt: z.ZodNumber;
            updatedAt: z.ZodNumber;
        }, z.core.$loose>;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"message-updated">;
        sid: z.ZodString;
        message: z.ZodObject<{
            id: z.ZodString;
            seq: z.ZodNumber;
            content: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
                t: z.ZodLiteral<"encrypted">;
                c: z.ZodString;
            }, z.core.$strip>, z.ZodObject<{
                t: z.ZodLiteral<"plain">;
                v: z.ZodUnknown;
            }, z.core.$strip>], "t">>;
            localId: z.ZodNullable<z.ZodString>;
            sidechainId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
            createdAt: z.ZodNumber;
            updatedAt: z.ZodNumber;
        }, z.core.$loose>;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"new-session">;
        id: z.ZodString;
        seq: z.ZodNumber;
        metadata: z.ZodString;
        metadataVersion: z.ZodNumber;
        agentState: z.ZodNullable<z.ZodString>;
        agentStateVersion: z.ZodNumber;
        dataEncryptionKey: z.ZodNullable<z.ZodString>;
        active: z.ZodBoolean;
        activeAt: z.ZodNumber;
        createdAt: z.ZodNumber;
        updatedAt: z.ZodNumber;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"update-session">;
        id: z.ZodString;
        metadata: z.ZodOptional<z.ZodObject<{
            value: z.ZodNullable<z.ZodString>;
            version: z.ZodNumber;
        }, z.core.$loose>>;
        agentState: z.ZodOptional<z.ZodObject<{
            value: z.ZodNullable<z.ZodString>;
            version: z.ZodNumber;
        }, z.core.$loose>>;
        lastViewedSessionSeq: z.ZodOptional<z.ZodNumber>;
        pendingPermissionRequestCount: z.ZodOptional<z.ZodNumber>;
        pendingUserActionRequestCount: z.ZodOptional<z.ZodNumber>;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"pending-changed">;
        sid: z.ZodString;
        sessionId: z.ZodOptional<z.ZodString>;
        pendingVersion: z.ZodNumber;
        pendingCount: z.ZodNumber;
        changedByAccountId: z.ZodOptional<z.ZodString>;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"automation-upsert">;
        automationId: z.ZodString;
        version: z.ZodNumber;
        enabled: z.ZodBoolean;
        updatedAt: z.ZodNumber;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"automation-delete">;
        automationId: z.ZodString;
        deletedAt: z.ZodNumber;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"automation-run-updated">;
        runId: z.ZodString;
        automationId: z.ZodString;
        state: z.ZodEnum<{
            failed: "failed";
            running: "running";
            succeeded: "succeeded";
            cancelled: "cancelled";
            queued: "queued";
            claimed: "claimed";
            expired: "expired";
        }>;
        scheduledAt: z.ZodNumber;
        startedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        finishedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        updatedAt: z.ZodNumber;
        machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"automation-assignment-updated">;
        machineId: z.ZodString;
        automationId: z.ZodString;
        enabled: z.ZodBoolean;
        updatedAt: z.ZodNumber;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"delete-session">;
        sid: z.ZodString;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"update-account">;
        id: z.ZodString;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"new-machine">;
        machineId: z.ZodString;
        seq: z.ZodNumber;
        metadata: z.ZodString;
        metadataVersion: z.ZodNumber;
        daemonState: z.ZodNullable<z.ZodString>;
        daemonStateVersion: z.ZodNumber;
        dataEncryptionKey: z.ZodNullable<z.ZodString>;
        active: z.ZodBoolean;
        activeAt: z.ZodNumber;
        createdAt: z.ZodNumber;
        updatedAt: z.ZodNumber;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"update-machine">;
        machineId: z.ZodString;
        metadata: z.ZodOptional<z.ZodObject<{
            value: z.ZodString;
            version: z.ZodNumber;
        }, z.core.$loose>>;
        daemonState: z.ZodOptional<z.ZodObject<{
            value: z.ZodString;
            version: z.ZodNumber;
        }, z.core.$loose>>;
        activeAt: z.ZodOptional<z.ZodNumber>;
        active: z.ZodOptional<z.ZodBoolean>;
        revokedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"new-artifact">;
        artifactId: z.ZodString;
        seq: z.ZodNumber;
        header: z.ZodString;
        headerVersion: z.ZodNumber;
        body: z.ZodString;
        bodyVersion: z.ZodNumber;
        dataEncryptionKey: z.ZodString;
        createdAt: z.ZodNumber;
        updatedAt: z.ZodNumber;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"update-artifact">;
        artifactId: z.ZodString;
        header: z.ZodOptional<z.ZodObject<{
            value: z.ZodString;
            version: z.ZodNumber;
        }, z.core.$loose>>;
        body: z.ZodOptional<z.ZodObject<{
            value: z.ZodString;
            version: z.ZodNumber;
        }, z.core.$loose>>;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"delete-artifact">;
        artifactId: z.ZodString;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"relationship-updated">;
        uid: z.ZodString;
        status: z.ZodEnum<{
            none: "none";
            rejected: "rejected";
            pending: "pending";
            requested: "requested";
            friend: "friend";
        }>;
        timestamp: z.ZodNumber;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"new-feed-post">;
        id: z.ZodString;
        body: z.ZodUnknown;
        cursor: z.ZodString;
        createdAt: z.ZodNumber;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"kv-batch-update">;
        changes: z.ZodArray<z.ZodObject<{
            key: z.ZodString;
            value: z.ZodNullable<z.ZodString>;
            version: z.ZodNumber;
        }, z.core.$loose>>;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"session-shared">;
        sessionId: z.ZodString;
        shareId: z.ZodString;
        sharedBy: z.ZodObject<{
            id: z.ZodString;
            firstName: z.ZodNullable<z.ZodString>;
            lastName: z.ZodNullable<z.ZodString>;
            username: z.ZodNullable<z.ZodString>;
            avatar: z.ZodNullable<z.ZodUnknown>;
        }, z.core.$loose>;
        accessLevel: z.ZodEnum<{
            view: "view";
            edit: "edit";
            admin: "admin";
        }>;
        encryptedDataKey: z.ZodOptional<z.ZodString>;
        createdAt: z.ZodNumber;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"session-share-updated">;
        sessionId: z.ZodString;
        shareId: z.ZodString;
        accessLevel: z.ZodEnum<{
            view: "view";
            edit: "edit";
            admin: "admin";
        }>;
        updatedAt: z.ZodNumber;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"session-share-revoked">;
        sessionId: z.ZodString;
        shareId: z.ZodString;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"public-share-created">;
        sessionId: z.ZodString;
        publicShareId: z.ZodString;
        token: z.ZodString;
        expiresAt: z.ZodNullable<z.ZodNumber>;
        maxUses: z.ZodNullable<z.ZodNumber>;
        isConsentRequired: z.ZodBoolean;
        createdAt: z.ZodNumber;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"public-share-updated">;
        sessionId: z.ZodString;
        publicShareId: z.ZodString;
        expiresAt: z.ZodNullable<z.ZodNumber>;
        maxUses: z.ZodNullable<z.ZodNumber>;
        isConsentRequired: z.ZodBoolean;
        updatedAt: z.ZodNumber;
    }, z.core.$loose>, z.ZodObject<{
        t: z.ZodLiteral<"public-share-deleted">;
        sessionId: z.ZodString;
    }, z.core.$loose>], "t">;
}, z.core.$loose>;
export type UpdateContainer = z.infer<typeof UpdateContainerSchema>;
export declare const EphemeralUpdateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
    type: z.ZodLiteral<"activity">;
    id: z.ZodString;
    active: z.ZodBoolean;
    activeAt: z.ZodNumber;
    thinking: z.ZodOptional<z.ZodBoolean>;
}, z.core.$loose>, z.ZodObject<{
    type: z.ZodLiteral<"execution-run-updated">;
    sessionId: z.ZodString;
    run: z.ZodObject<{
        runId: z.ZodString;
        callId: z.ZodString;
        sidechainId: z.ZodString;
        intent: z.ZodEnum<{
            review: "review";
            plan: "plan";
            delegate: "delegate";
            voice_agent: "voice_agent";
            memory_hints: "memory_hints";
        }>;
        backendTarget: z.ZodUnion<readonly [z.ZodObject<{
            kind: z.ZodLiteral<"builtInAgent">;
            agentId: z.ZodString;
        }, z.core.$strip>, z.ZodObject<{
            kind: z.ZodLiteral<"configuredAcpBackend">;
            backendId: z.ZodString;
        }, z.core.$strip>]>;
        display: z.ZodOptional<z.ZodObject<{
            title: z.ZodOptional<z.ZodString>;
            participantLabel: z.ZodOptional<z.ZodString>;
            groupId: z.ZodOptional<z.ZodString>;
        }, z.core.$loose>>;
        permissionMode: z.ZodString;
        retentionPolicy: z.ZodEnum<{
            ephemeral: "ephemeral";
            resumable: "resumable";
        }>;
        runClass: z.ZodEnum<{
            bounded: "bounded";
            long_lived: "long_lived";
        }>;
        ioMode: z.ZodEnum<{
            request_response: "request_response";
            streaming: "streaming";
        }>;
        status: z.ZodEnum<{
            failed: "failed";
            running: "running";
            succeeded: "succeeded";
            cancelled: "cancelled";
            timeout: "timeout";
        }>;
        turnInFlight: z.ZodOptional<z.ZodBoolean>;
        availableActionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
        resumeHandle: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
            kind: z.ZodLiteral<"vendor_session.v1">;
            backendTarget: z.ZodUnion<readonly [z.ZodObject<{
                kind: z.ZodLiteral<"builtInAgent">;
                agentId: z.ZodString;
            }, z.core.$strip>, z.ZodObject<{
                kind: z.ZodLiteral<"configuredAcpBackend">;
                backendId: z.ZodString;
            }, z.core.$strip>]>;
            vendorSessionId: z.ZodString;
        }, z.core.$loose>, z.ZodObject<{
            kind: z.ZodLiteral<"voice_agent_sessions.v1">;
            backendTarget: z.ZodUnion<readonly [z.ZodObject<{
                kind: z.ZodLiteral<"builtInAgent">;
                agentId: z.ZodString;
            }, z.core.$strip>, z.ZodObject<{
                kind: z.ZodLiteral<"configuredAcpBackend">;
                backendId: z.ZodString;
            }, z.core.$strip>]>;
            chatVendorSessionId: z.ZodString;
            commitVendorSessionId: z.ZodString;
        }, z.core.$loose>], "kind">>>;
        transcript: z.ZodOptional<z.ZodObject<{
            persistenceMode: z.ZodEnum<{
                ephemeral: "ephemeral";
                persistent: "persistent";
            }>;
            epoch: z.ZodNumber;
        }, z.core.$loose>>;
        startedAtMs: z.ZodNumber;
        finishedAtMs: z.ZodOptional<z.ZodNumber>;
        error: z.ZodOptional<z.ZodObject<{
            code: z.ZodString;
            message: z.ZodOptional<z.ZodString>;
        }, z.core.$loose>>;
    }, z.core.$loose>;
}, z.core.$loose>, z.ZodObject<{
    type: z.ZodLiteral<"machine-activity">;
    id: z.ZodString;
    active: z.ZodBoolean;
    activeAt: z.ZodNumber;
}, z.core.$loose>, z.ZodObject<{
    type: z.ZodLiteral<"usage">;
    id: z.ZodString;
    key: z.ZodString;
    tokens: z.ZodRecord<z.ZodString, z.ZodNumber>;
    cost: z.ZodRecord<z.ZodString, z.ZodNumber>;
    timestamp: z.ZodNumber;
}, z.core.$loose>, z.ZodObject<{
    type: z.ZodLiteral<"machine-status">;
    machineId: z.ZodString;
    online: z.ZodBoolean;
    timestamp: z.ZodNumber;
}, z.core.$loose>], "type">;
export type EphemeralUpdate = z.infer<typeof EphemeralUpdateSchema>;
export declare const SessionBroadcastBodySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
    t: z.ZodLiteral<"session-changed">;
    sessionId: z.ZodString;
}, z.core.$loose>], "t">;
export type SessionBroadcastBody = z.infer<typeof SessionBroadcastBodySchema>;
export declare const SessionBroadcastContainerSchema: z.ZodObject<{
    id: z.ZodString;
    createdAt: z.ZodNumber;
    body: z.ZodDiscriminatedUnion<[z.ZodObject<{
        t: z.ZodLiteral<"session-changed">;
        sessionId: z.ZodString;
    }, z.core.$loose>], "t">;
}, z.core.$loose>;
export type SessionBroadcastContainer = z.infer<typeof SessionBroadcastContainerSchema>;
export declare const MessageAckResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
    ok: z.ZodLiteral<true>;
    id: z.ZodString;
    seq: z.ZodNumber;
    localId: z.ZodNullable<z.ZodString>;
    didWrite: z.ZodOptional<z.ZodBoolean>;
    didUpdate: z.ZodOptional<z.ZodBoolean>;
}, z.core.$loose>, z.ZodObject<{
    ok: z.ZodLiteral<false>;
    error: z.ZodString;
}, z.core.$loose>]>;
export type MessageAckResponse = z.infer<typeof MessageAckResponseSchema>;
export declare const UpdateMetadataAckResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
    result: z.ZodLiteral<"success">;
    version: z.ZodNumber;
    metadata: z.ZodString;
}, z.core.$loose>, z.ZodObject<{
    result: z.ZodLiteral<"version-mismatch">;
    version: z.ZodNumber;
    metadata: z.ZodString;
}, z.core.$loose>, z.ZodObject<{
    result: z.ZodLiteral<"forbidden">;
}, z.core.$loose>, z.ZodObject<{
    result: z.ZodLiteral<"error">;
}, z.core.$loose>], "result">;
export type UpdateMetadataAckResponse = z.infer<typeof UpdateMetadataAckResponseSchema>;
export declare const UpdateStateAckResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
    result: z.ZodLiteral<"success">;
    version: z.ZodNumber;
    agentState: z.ZodNullable<z.ZodString>;
}, z.core.$loose>, z.ZodObject<{
    result: z.ZodLiteral<"version-mismatch">;
    version: z.ZodNumber;
    agentState: z.ZodNullable<z.ZodString>;
}, z.core.$loose>, z.ZodObject<{
    result: z.ZodLiteral<"forbidden">;
}, z.core.$loose>, z.ZodObject<{
    result: z.ZodLiteral<"error">;
}, z.core.$loose>], "result">;
export type UpdateStateAckResponse = z.infer<typeof UpdateStateAckResponseSchema>;
//# sourceMappingURL=updates.d.ts.map