declare const _default: import("convex/server").SchemaDefinition<{ agentProfiles: import("convex/server").TableDefinition; version: import("convex/values").VString; secretsRef: import("convex/values").VArray, "required">; botIdentity: import("convex/values").VString; bridgeConfig: import("convex/values").VObject<{ baseUrl?: string | undefined; serviceId?: string | undefined; appKey?: string | undefined; serviceKeySecretRef?: string | undefined; appBaseUrlMapJsonSecretRef?: string | undefined; enabled: boolean; } | undefined, { enabled: import("convex/values").VBoolean; baseUrl: import("convex/values").VString; serviceId: import("convex/values").VString; appKey: import("convex/values").VString; serviceKeySecretRef: import("convex/values").VString; appBaseUrlMapJsonSecretRef: import("convex/values").VString; }, "optional", "baseUrl" | "serviceId" | "appKey" | "enabled" | "serviceKeySecretRef" | "appBaseUrlMapJsonSecretRef">; enabled: import("convex/values").VBoolean; }, "required", "agentKey" | "botIdentity" | "bridgeConfig" | "enabled" | "secretsRef" | "version" | "bridgeConfig.baseUrl" | "bridgeConfig.serviceId" | "bridgeConfig.appKey" | "bridgeConfig.enabled" | "bridgeConfig.serviceKeySecretRef" | "bridgeConfig.appBaseUrlMapJsonSecretRef">, { by_agentKey: ["agentKey", "_creationTime"]; by_botIdentity: ["botIdentity", "_creationTime"]; by_enabled: ["enabled", "_creationTime"]; }, {}, {}>; conversations: import("convex/server").TableDefinition; } | undefined; agentKey: string; conversationId: string; contextHistory: { content: string; role: "system" | "user" | "assistant" | "tool"; at: number; }[]; pendingToolCalls: { status: "pending" | "failed" | "running" | "done"; toolName: string; callId: string; }[]; }, { conversationId: import("convex/values").VString; agentKey: import("convex/values").VString; contextHistory: import("convex/values").VArray<{ content: string; role: "system" | "user" | "assistant" | "tool"; at: number; }[], import("convex/values").VObject<{ content: string; role: "system" | "user" | "assistant" | "tool"; at: number; }, { role: import("convex/values").VUnion<"system" | "user" | "assistant" | "tool", [import("convex/values").VLiteral<"system", "required">, import("convex/values").VLiteral<"user", "required">, import("convex/values").VLiteral<"assistant", "required">, import("convex/values").VLiteral<"tool", "required">], "required", never>; content: import("convex/values").VString; at: import("convex/values").VFloat64; }, "required", "content" | "role" | "at">, "required">; pendingToolCalls: import("convex/values").VArray<{ status: "pending" | "failed" | "running" | "done"; toolName: string; callId: string; }[], import("convex/values").VObject<{ status: "pending" | "failed" | "running" | "done"; toolName: string; callId: string; }, { toolName: import("convex/values").VString; callId: import("convex/values").VString; status: import("convex/values").VUnion<"pending" | "failed" | "running" | "done", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"done", "required">, import("convex/values").VLiteral<"failed", "required">], "required", never>; }, "required", "status" | "toolName" | "callId">, "required">; processingLock: import("convex/values").VObject<{ workerId: string; leaseId: string; leaseExpiresAt: number; heartbeatAt: number; claimedMessageId: import("convex/values").GenericId<"messageQueue">; } | undefined, { leaseId: import("convex/values").VString; workerId: import("convex/values").VString; leaseExpiresAt: import("convex/values").VFloat64; heartbeatAt: import("convex/values").VFloat64; claimedMessageId: import("convex/values").VId, "required">; }, "optional", "workerId" | "leaseId" | "leaseExpiresAt" | "heartbeatAt" | "claimedMessageId">; }, "required", "agentKey" | "conversationId" | "contextHistory" | "pendingToolCalls" | "processingLock" | "processingLock.workerId" | "processingLock.leaseId" | "processingLock.leaseExpiresAt" | "processingLock.heartbeatAt" | "processingLock.claimedMessageId">, { by_conversationId: ["conversationId", "_creationTime"]; by_agentKey: ["agentKey", "_creationTime"]; }, {}, {}>; messageQueue: import("convex/server").TableDefinition | undefined; attachments?: { sizeBytes?: number | undefined; fileName?: string | undefined; mimeType?: string | undefined; downloadUrl?: string | undefined; status: "expired" | "ready"; storageId: import("convex/values").GenericId<"_storage">; kind: "photo" | "video" | "audio" | "voice" | "document"; telegramFileId: string; expiresAt: number; }[] | undefined; externalMessageId?: string | undefined; rawUpdateJson?: string | undefined; provider: string; providerUserId: string; messageText: string; }; priority: number; scheduledFor: number; attempts: number; }, { conversationId: import("convex/values").VString; agentKey: import("convex/values").VString; payload: import("convex/values").VObject<{ metadata?: Record | undefined; attachments?: { sizeBytes?: number | undefined; fileName?: string | undefined; mimeType?: string | undefined; downloadUrl?: string | undefined; status: "expired" | "ready"; storageId: import("convex/values").GenericId<"_storage">; kind: "photo" | "video" | "audio" | "voice" | "document"; telegramFileId: string; expiresAt: number; }[] | undefined; externalMessageId?: string | undefined; rawUpdateJson?: string | undefined; provider: string; providerUserId: string; messageText: string; }, { provider: import("convex/values").VString; providerUserId: import("convex/values").VString; messageText: import("convex/values").VString; externalMessageId: import("convex/values").VString; rawUpdateJson: import("convex/values").VString; metadata: import("convex/values").VRecord | undefined, import("convex/values").VString, import("convex/values").VString, "optional", string>; attachments: import("convex/values").VArray<{ sizeBytes?: number | undefined; fileName?: string | undefined; mimeType?: string | undefined; downloadUrl?: string | undefined; status: "expired" | "ready"; storageId: import("convex/values").GenericId<"_storage">; kind: "photo" | "video" | "audio" | "voice" | "document"; telegramFileId: string; expiresAt: number; }[] | undefined, import("convex/values").VObject<{ sizeBytes?: number | undefined; fileName?: string | undefined; mimeType?: string | undefined; downloadUrl?: string | undefined; status: "expired" | "ready"; storageId: import("convex/values").GenericId<"_storage">; kind: "photo" | "video" | "audio" | "voice" | "document"; telegramFileId: string; expiresAt: number; }, { kind: import("convex/values").VUnion<"photo" | "video" | "audio" | "voice" | "document", [import("convex/values").VLiteral<"photo", "required">, import("convex/values").VLiteral<"video", "required">, import("convex/values").VLiteral<"audio", "required">, import("convex/values").VLiteral<"voice", "required">, import("convex/values").VLiteral<"document", "required">], "required", never>; status: import("convex/values").VUnion<"expired" | "ready", [import("convex/values").VLiteral<"ready", "required">, import("convex/values").VLiteral<"expired", "required">], "required", never>; storageId: import("convex/values").VId, "required">; telegramFileId: import("convex/values").VString; fileName: import("convex/values").VString; mimeType: import("convex/values").VString; sizeBytes: import("convex/values").VFloat64; expiresAt: import("convex/values").VFloat64; downloadUrl: import("convex/values").VString; }, "required", "status" | "storageId" | "sizeBytes" | "kind" | "telegramFileId" | "fileName" | "mimeType" | "expiresAt" | "downloadUrl">, "optional">; }, "required", "metadata" | "attachments" | "provider" | "providerUserId" | "messageText" | "externalMessageId" | "rawUpdateJson" | `metadata.${string}`>; status: import("convex/values").VUnion<"failed" | "done" | "queued" | "processing" | "dead_letter", [import("convex/values").VLiteral<"queued", "required">, import("convex/values").VLiteral<"processing", "required">, import("convex/values").VLiteral<"done", "required">, import("convex/values").VLiteral<"failed", "required">, import("convex/values").VLiteral<"dead_letter", "required">], "required", never>; priority: import("convex/values").VFloat64; scheduledFor: import("convex/values").VFloat64; claimedBy: import("convex/values").VString; leaseId: import("convex/values").VString; leaseExpiresAt: import("convex/values").VFloat64; attempts: import("convex/values").VFloat64; maxAttempts: import("convex/values").VFloat64; lastError: import("convex/values").VString; nextRetryAt: import("convex/values").VFloat64; deadLetteredAt: import("convex/values").VFloat64; }, "required", "status" | "agentKey" | "conversationId" | "leaseId" | "maxAttempts" | "payload" | "priority" | "scheduledFor" | "leaseExpiresAt" | "claimedBy" | "attempts" | "lastError" | "nextRetryAt" | "deadLetteredAt" | "payload.metadata" | "payload.attachments" | "payload.provider" | "payload.providerUserId" | "payload.messageText" | "payload.externalMessageId" | "payload.rawUpdateJson" | `payload.metadata.${string}`>, { by_status_and_scheduledFor: ["status", "scheduledFor", "_creationTime"]; by_status_and_priority_and_scheduledFor: ["status", "priority", "scheduledFor", "_creationTime"]; by_status_and_leaseExpiresAt: ["status", "leaseExpiresAt", "_creationTime"]; by_conversationId_and_status: ["conversationId", "status", "_creationTime"]; by_conversationId_and_scheduledFor: ["conversationId", "scheduledFor", "_creationTime"]; by_claimedBy_and_status: ["claimedBy", "status", "_creationTime"]; by_agentKey_and_status: ["agentKey", "status", "_creationTime"]; }, {}, {}>; workers: import("convex/server").TableDefinition | undefined; assignment?: { agentKey: string; conversationId: string; leaseId: string; assignedAt: number; } | undefined; status: "active" | "draining" | "stopping" | "stopped"; workerId: string; provider: string; heartbeatAt: number; load: number; capabilities: string[]; }, { workerId: import("convex/values").VString; provider: import("convex/values").VString; volumeId: import("convex/values").VString; machineRef: import("convex/values").VObject<{ region?: string | undefined; appName: string; machineId: string; } | undefined, { appName: import("convex/values").VString; machineId: import("convex/values").VString; region: import("convex/values").VString; }, "optional", "appName" | "region" | "machineId">; status: import("convex/values").VUnion<"active" | "draining" | "stopping" | "stopped", [import("convex/values").VLiteral<"active", "required">, import("convex/values").VLiteral<"draining", "required">, import("convex/values").VLiteral<"stopping", "required">, import("convex/values").VLiteral<"stopped", "required">], "required", never>; load: import("convex/values").VFloat64; heartbeatAt: import("convex/values").VFloat64; lastClaimAt: import("convex/values").VFloat64; scheduledShutdownAt: import("convex/values").VFloat64; stoppedAt: import("convex/values").VFloat64; lastSnapshotId: import("convex/values").VId | undefined, "optional">; assignment: import("convex/values").VObject<{ agentKey: string; conversationId: string; leaseId: string; assignedAt: number; } | undefined, { conversationId: import("convex/values").VString; agentKey: import("convex/values").VString; leaseId: import("convex/values").VString; assignedAt: import("convex/values").VFloat64; }, "optional", "agentKey" | "conversationId" | "leaseId" | "assignedAt">; capabilities: import("convex/values").VArray, "required">; }, "required", "status" | "workerId" | "volumeId" | "provider" | "heartbeatAt" | "machineRef" | "load" | "lastClaimAt" | "scheduledShutdownAt" | "stoppedAt" | "lastSnapshotId" | "assignment" | "capabilities" | "machineRef.appName" | "machineRef.region" | "machineRef.machineId" | "assignment.agentKey" | "assignment.conversationId" | "assignment.leaseId" | "assignment.assignedAt">, { by_workerId: ["workerId", "_creationTime"]; by_status: ["status", "_creationTime"]; by_heartbeatAt: ["heartbeatAt", "_creationTime"]; by_scheduledShutdownAt: ["scheduledShutdownAt", "_creationTime"]; }, {}, {}>; runtimeConfig: import("convex/server").TableDefinition; providerConfig: import("convex/values").VObject<{ appName: string; kind: "fly" | "runpod" | "ecs"; organizationSlug: string; image: string; region: string; volumeName: string; volumePath: string; volumeSizeGb: number; } | undefined, { kind: import("convex/values").VUnion<"fly" | "runpod" | "ecs", [import("convex/values").VLiteral<"fly", "required">, import("convex/values").VLiteral<"runpod", "required">, import("convex/values").VLiteral<"ecs", "required">], "required", never>; appName: import("convex/values").VString; organizationSlug: import("convex/values").VString; image: import("convex/values").VString; region: import("convex/values").VString; volumeName: import("convex/values").VString; volumePath: import("convex/values").VString; volumeSizeGb: import("convex/values").VFloat64; }, "optional", "appName" | "kind" | "organizationSlug" | "image" | "region" | "volumeName" | "volumePath" | "volumeSizeGb">; messageConfig: import("convex/values").VObject<{ systemPrompt?: string | undefined; telegramAttachmentRetentionMs?: number | undefined; } | undefined, { systemPrompt: import("convex/values").VString; telegramAttachmentRetentionMs: import("convex/values").VFloat64; }, "optional", "systemPrompt" | "telegramAttachmentRetentionMs">; updatedAt: import("convex/values").VFloat64; }, "required", "key" | "providerConfig" | "messageConfig" | "updatedAt" | "providerConfig.appName" | "providerConfig.kind" | "providerConfig.organizationSlug" | "providerConfig.image" | "providerConfig.region" | "providerConfig.volumeName" | "providerConfig.volumePath" | "providerConfig.volumeSizeGb" | "messageConfig.systemPrompt" | "messageConfig.telegramAttachmentRetentionMs">, { by_key: ["key", "_creationTime"]; }, {}, {}>; messageAttachments: import("convex/server").TableDefinition; storageId: import("convex/values").GenericId<"_storage">; kind: "photo" | "video" | "audio" | "voice" | "document"; provider: string; telegramFileId: string; expiresAt: number; createdAt: number; }, { messageId: import("convex/values").VId, "required">; conversationId: import("convex/values").VString; agentKey: import("convex/values").VString; provider: import("convex/values").VString; kind: import("convex/values").VUnion<"photo" | "video" | "audio" | "voice" | "document", [import("convex/values").VLiteral<"photo", "required">, import("convex/values").VLiteral<"video", "required">, import("convex/values").VLiteral<"audio", "required">, import("convex/values").VLiteral<"voice", "required">, import("convex/values").VLiteral<"document", "required">], "required", never>; status: import("convex/values").VUnion<"expired" | "ready", [import("convex/values").VLiteral<"ready", "required">, import("convex/values").VLiteral<"expired", "required">], "required", never>; storageId: import("convex/values").VId, "required">; telegramFileId: import("convex/values").VString; fileName: import("convex/values").VString; mimeType: import("convex/values").VString; sizeBytes: import("convex/values").VFloat64; createdAt: import("convex/values").VFloat64; expiresAt: import("convex/values").VFloat64; }, "required", "status" | "agentKey" | "conversationId" | "messageId" | "storageId" | "sizeBytes" | "kind" | "provider" | "telegramFileId" | "fileName" | "mimeType" | "expiresAt" | "createdAt">, { by_messageId: ["messageId", "_creationTime"]; by_status_and_expiresAt: ["status", "expiresAt", "_creationTime"]; by_conversationId_and_createdAt: ["conversationId", "createdAt", "_creationTime"]; }, {}, {}>; dataSnapshots: import("convex/server").TableDefinition | undefined; completedAt?: number | undefined; status: "expired" | "failed" | "ready" | "uploading"; agentKey: string; conversationId: string; workspaceId: string; workerId: string; reason: "manual" | "drain" | "signal"; expiresAt: number; createdAt: number; formatVersion: number; }, { workspaceId: import("convex/values").VString; agentKey: import("convex/values").VString; workerId: import("convex/values").VString; conversationId: import("convex/values").VString; reason: import("convex/values").VUnion<"manual" | "drain" | "signal", [import("convex/values").VLiteral<"drain", "required">, import("convex/values").VLiteral<"signal", "required">, import("convex/values").VLiteral<"manual", "required">], "required", never>; formatVersion: import("convex/values").VFloat64; archiveFileId: import("convex/values").VId | undefined, "optional">; sha256: import("convex/values").VString; sizeBytes: import("convex/values").VFloat64; status: import("convex/values").VUnion<"expired" | "failed" | "ready" | "uploading", [import("convex/values").VLiteral<"uploading", "required">, import("convex/values").VLiteral<"ready", "required">, import("convex/values").VLiteral<"failed", "required">, import("convex/values").VLiteral<"expired", "required">], "required", never>; error: import("convex/values").VString; createdAt: import("convex/values").VFloat64; completedAt: import("convex/values").VFloat64; expiresAt: import("convex/values").VFloat64; }, "required", "error" | "status" | "agentKey" | "conversationId" | "workspaceId" | "workerId" | "sha256" | "sizeBytes" | "reason" | "expiresAt" | "createdAt" | "formatVersion" | "archiveFileId" | "completedAt">, { by_workerId_and_createdAt: ["workerId", "createdAt", "_creationTime"]; by_workspaceId_and_agentKey_and_createdAt: ["workspaceId", "agentKey", "createdAt", "_creationTime"]; by_workspaceId_and_agentKey_and_conversationId_and_createdAt: ["workspaceId", "agentKey", "conversationId", "createdAt", "_creationTime"]; by_agentKey_and_createdAt: ["agentKey", "createdAt", "_creationTime"]; by_conversationId_and_createdAt: ["conversationId", "createdAt", "_creationTime"]; by_status_and_expiresAt: ["status", "expiresAt", "_creationTime"]; }, {}, {}>; secrets: import("convex/server").TableDefinition | undefined; rotatedFrom?: number | undefined; active: boolean; secretRef: string; version: number; encryptedValue: string; keyId: string; algorithm: string; }, { secretRef: import("convex/values").VString; version: import("convex/values").VFloat64; encryptedValue: import("convex/values").VString; keyId: import("convex/values").VString; algorithm: import("convex/values").VString; active: import("convex/values").VBoolean; rotatedFrom: import("convex/values").VFloat64; metadata: import("convex/values").VRecord | undefined, import("convex/values").VString, import("convex/values").VString, "optional", string>; }, "required", "active" | "metadata" | "secretRef" | "version" | `metadata.${string}` | "encryptedValue" | "keyId" | "algorithm" | "rotatedFrom">, { by_secretRef: ["secretRef", "_creationTime"]; by_secretRef_and_active: ["secretRef", "active", "_creationTime"]; by_active: ["active", "_creationTime"]; }, {}, {}>; identityBindings: import("convex/server").TableDefinition | undefined; telegramChatId?: string | undefined; telegramUserId?: string | undefined; revokedAt?: number | undefined; status: "active" | "revoked"; agentKey: string; consumerUserId: string; source: "manual" | "telegram_pairing" | "api"; conversationId: string; boundAt: number; }, { consumerUserId: import("convex/values").VString; agentKey: import("convex/values").VString; conversationId: import("convex/values").VString; botIdentity: import("convex/values").VString; status: import("convex/values").VUnion<"active" | "revoked", [import("convex/values").VLiteral<"active", "required">, import("convex/values").VLiteral<"revoked", "required">], "required", never>; source: import("convex/values").VUnion<"manual" | "telegram_pairing" | "api", [import("convex/values").VLiteral<"manual", "required">, import("convex/values").VLiteral<"telegram_pairing", "required">, import("convex/values").VLiteral<"api", "required">], "required", never>; telegramUserId: import("convex/values").VString; telegramChatId: import("convex/values").VString; metadata: import("convex/values").VRecord | undefined, import("convex/values").VString, import("convex/values").VString, "optional", string>; boundAt: import("convex/values").VFloat64; revokedAt: import("convex/values").VFloat64; }, "required", "status" | "agentKey" | "botIdentity" | "consumerUserId" | "metadata" | "source" | "telegramChatId" | "telegramUserId" | "conversationId" | `metadata.${string}` | "boundAt" | "revokedAt">, { by_consumerUserId_and_status: ["consumerUserId", "status", "_creationTime"]; by_consumerUserId_and_agentKey_and_boundAt: ["consumerUserId", "agentKey", "boundAt", "_creationTime"]; by_botIdentity_and_telegramUserId_and_status: ["botIdentity", "telegramUserId", "status", "_creationTime"]; by_botIdentity_and_telegramChatId_and_status: ["botIdentity", "telegramChatId", "status", "_creationTime"]; by_telegramUserId_and_status: ["telegramUserId", "status", "_creationTime"]; by_telegramChatId_and_status: ["telegramChatId", "status", "_creationTime"]; by_agentKey_and_status: ["agentKey", "status", "_creationTime"]; }, {}, {}>; pairingCodes: import("convex/server").TableDefinition; consumerUserId: import("convex/values").VString; agentKey: import("convex/values").VString; botIdentity: import("convex/values").VString; status: import("convex/values").VUnion<"pending" | "used" | "expired", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"used", "required">, import("convex/values").VLiteral<"expired", "required">], "required", never>; createdAt: import("convex/values").VFloat64; expiresAt: import("convex/values").VFloat64; usedAt: import("convex/values").VFloat64; telegramUserId: import("convex/values").VString; telegramChatId: import("convex/values").VString; }, "required", "status" | "agentKey" | "botIdentity" | "consumerUserId" | "telegramChatId" | "telegramUserId" | "code" | "expiresAt" | "createdAt" | "usedAt">, { by_code: ["code", "_creationTime"]; by_consumerUserId_and_status: ["consumerUserId", "status", "_creationTime"]; by_consumerUserId_and_agentKey_and_createdAt: ["consumerUserId", "agentKey", "createdAt", "_creationTime"]; by_botIdentity_and_status: ["botIdentity", "status", "_creationTime"]; by_expiresAt: ["expiresAt", "_creationTime"]; }, {}, {}>; globalSkills: import("convex/server").TableDefinition; displayName: import("convex/values").VString; description: import("convex/values").VString; status: import("convex/values").VUnion<"active" | "disabled", [import("convex/values").VLiteral<"active", "required">, import("convex/values").VLiteral<"disabled", "required">], "required", never>; createdBy: import("convex/values").VString; updatedBy: import("convex/values").VString; createdAt: import("convex/values").VFloat64; updatedAt: import("convex/values").VFloat64; }, "required", "status" | "slug" | "description" | "displayName" | "updatedAt" | "createdAt" | "createdBy" | "updatedBy">, { by_slug: ["slug", "_creationTime"]; by_status: ["status", "_creationTime"]; }, {}, {}>; globalSkillVersions: import("convex/server").TableDefinition; }, { skillId: import("convex/values").VId, "required">; version: import("convex/values").VString; moduleFormat: import("convex/values").VUnion<"esm" | "cjs", [import("convex/values").VLiteral<"esm", "required">, import("convex/values").VLiteral<"cjs", "required">], "required", never>; entryPoint: import("convex/values").VString; files: import("convex/values").VArray<{ content: string; sha256: string; path: string; }[], import("convex/values").VObject<{ content: string; sha256: string; path: string; }, { path: import("convex/values").VString; content: import("convex/values").VString; sha256: import("convex/values").VString; }, "required", "content" | "sha256" | "path">, "required">; sha256: import("convex/values").VString; createdBy: import("convex/values").VString; createdAt: import("convex/values").VFloat64; }, "required", "version" | "entryPoint" | "files" | "moduleFormat" | "sha256" | "createdAt" | "createdBy" | "skillId">, { by_skillId_and_version: ["skillId", "version", "_creationTime"]; by_skillId_and_createdAt: ["skillId", "createdAt", "_creationTime"]; }, {}, {}>; globalSkillReleases: import("convex/server").TableDefinition; versionId: import("convex/values").GenericId<"globalSkillVersions">; isActive: boolean; activatedBy: string; activatedAt: number; }, { skillId: import("convex/values").VId, "required">; versionId: import("convex/values").VId, "required">; releaseChannel: import("convex/values").VUnion<"stable" | "canary", [import("convex/values").VLiteral<"stable", "required">, import("convex/values").VLiteral<"canary", "required">], "required", never>; isActive: import("convex/values").VBoolean; activatedBy: import("convex/values").VString; activatedAt: import("convex/values").VFloat64; }, "required", "releaseChannel" | "skillId" | "versionId" | "isActive" | "activatedBy" | "activatedAt">, { by_skillId_and_releaseChannel_and_isActive: ["skillId", "releaseChannel", "isActive", "_creationTime"]; by_releaseChannel_and_isActive_and_activatedAt: ["releaseChannel", "isActive", "activatedAt", "_creationTime"]; }, {}, {}>; conversationHydrationCache: import("convex/server").TableDefinition | undefined; agentKey: string; conversationId: string; snapshotKey: string; lastHydratedAt: number; deltaContext: { content: string; role: "system" | "user" | "assistant" | "tool"; at: number; }[]; deltaFingerprint: string; }, { conversationId: import("convex/values").VString; agentKey: import("convex/values").VString; snapshotKey: import("convex/values").VString; lastHydratedAt: import("convex/values").VFloat64; lastMessageId: import("convex/values").VId | undefined, "optional">; deltaContext: import("convex/values").VArray<{ content: string; role: "system" | "user" | "assistant" | "tool"; at: number; }[], import("convex/values").VObject<{ content: string; role: "system" | "user" | "assistant" | "tool"; at: number; }, { role: import("convex/values").VUnion<"system" | "user" | "assistant" | "tool", [import("convex/values").VLiteral<"system", "required">, import("convex/values").VLiteral<"user", "required">, import("convex/values").VLiteral<"assistant", "required">, import("convex/values").VLiteral<"tool", "required">], "required", never>; content: import("convex/values").VString; at: import("convex/values").VFloat64; }, "required", "content" | "role" | "at">, "required">; deltaFingerprint: import("convex/values").VString; }, "required", "agentKey" | "conversationId" | "snapshotKey" | "lastHydratedAt" | "lastMessageId" | "deltaContext" | "deltaFingerprint">, { by_conversationId: ["conversationId", "_creationTime"]; by_agentKey_and_lastHydratedAt: ["agentKey", "lastHydratedAt", "_creationTime"]; }, {}, {}>; messagePushTemplates: import("convex/server").TableDefinition; templateKey: import("convex/values").VString; title: import("convex/values").VString; text: import("convex/values").VString; periodicity: import("convex/values").VUnion<"manual" | "daily" | "weekly" | "monthly", [import("convex/values").VLiteral<"manual", "required">, import("convex/values").VLiteral<"daily", "required">, import("convex/values").VLiteral<"weekly", "required">, import("convex/values").VLiteral<"monthly", "required">], "required", never>; suggestedTimes: import("convex/values").VArray<({ kind: "daily"; time: string; } | { kind: "weekly"; time: string; weekday: number; } | { kind: "monthly"; time: string; dayOfMonth: number | "last"; })[], import("convex/values").VUnion<{ kind: "daily"; time: string; } | { kind: "weekly"; time: string; weekday: number; } | { kind: "monthly"; time: string; dayOfMonth: number | "last"; }, [import("convex/values").VObject<{ kind: "daily"; time: string; }, { kind: import("convex/values").VLiteral<"daily", "required">; time: import("convex/values").VString; }, "required", "kind" | "time">, import("convex/values").VObject<{ kind: "weekly"; time: string; weekday: number; }, { kind: import("convex/values").VLiteral<"weekly", "required">; weekday: import("convex/values").VFloat64; time: import("convex/values").VString; }, "required", "kind" | "time" | "weekday">, import("convex/values").VObject<{ kind: "monthly"; time: string; dayOfMonth: number | "last"; }, { kind: import("convex/values").VLiteral<"monthly", "required">; dayOfMonth: import("convex/values").VUnion, import("convex/values").VLiteral<"last", "required">], "required", never>; time: import("convex/values").VString; }, "required", "kind" | "time" | "dayOfMonth">], "required", "kind" | "time" | "weekday" | "dayOfMonth">, "required">; enabled: import("convex/values").VBoolean; createdBy: import("convex/values").VString; updatedBy: import("convex/values").VString; createdAt: import("convex/values").VFloat64; updatedAt: import("convex/values").VFloat64; }, "required", "enabled" | "text" | "title" | "companyId" | "periodicity" | "suggestedTimes" | "templateKey" | "updatedAt" | "createdAt" | "createdBy" | "updatedBy">, { by_companyId: ["companyId", "_creationTime"]; by_companyId_and_templateKey: ["companyId", "templateKey", "_creationTime"]; by_companyId_and_enabled: ["companyId", "enabled", "_creationTime"]; }, {}, {}>; messageTemplates: import("convex/server").TableDefinition; title: import("convex/values").VString; text: import("convex/values").VString; tags: import("convex/values").VArray, "required">; usageCount: import("convex/values").VFloat64; enabled: import("convex/values").VBoolean; createdBy: import("convex/values").VString; updatedBy: import("convex/values").VString; createdAt: import("convex/values").VFloat64; updatedAt: import("convex/values").VFloat64; }, "required", "enabled" | "tags" | "text" | "title" | "templateKey" | "updatedAt" | "createdAt" | "createdBy" | "updatedBy" | "usageCount">, { by_templateKey: ["templateKey", "_creationTime"]; by_enabled: ["enabled", "_creationTime"]; }, {}, {}>; messagePushJobs: import("convex/server").TableDefinition | undefined; nextRunAt?: number | undefined; lastRunAt?: number | undefined; lastRunKey?: string | undefined; consumerUserId: string; enabled: boolean; text: string; title: string; companyId: string; periodicity: "manual" | "daily" | "weekly" | "monthly"; schedule: { kind: "manual"; } | { kind: "daily"; time: string; } | { kind: "weekly"; time: string; weekday: number; } | { kind: "monthly"; time: string; dayOfMonth: number | "last"; }; timezone: string; updatedAt: number; createdAt: number; }, { companyId: import("convex/values").VString; consumerUserId: import("convex/values").VString; agentKey: import("convex/values").VString; sourceTemplateId: import("convex/values").VId | undefined, "optional">; title: import("convex/values").VString; text: import("convex/values").VString; periodicity: import("convex/values").VUnion<"manual" | "daily" | "weekly" | "monthly", [import("convex/values").VLiteral<"manual", "required">, import("convex/values").VLiteral<"daily", "required">, import("convex/values").VLiteral<"weekly", "required">, import("convex/values").VLiteral<"monthly", "required">], "required", never>; timezone: import("convex/values").VString; schedule: import("convex/values").VUnion<{ kind: "manual"; } | { kind: "daily"; time: string; } | { kind: "weekly"; time: string; weekday: number; } | { kind: "monthly"; time: string; dayOfMonth: number | "last"; }, [import("convex/values").VObject<{ kind: "manual"; }, { kind: import("convex/values").VLiteral<"manual", "required">; }, "required", "kind">, import("convex/values").VObject<{ kind: "daily"; time: string; }, { kind: import("convex/values").VLiteral<"daily", "required">; time: import("convex/values").VString; }, "required", "kind" | "time">, import("convex/values").VObject<{ kind: "weekly"; time: string; weekday: number; }, { kind: import("convex/values").VLiteral<"weekly", "required">; weekday: import("convex/values").VFloat64; time: import("convex/values").VString; }, "required", "kind" | "time" | "weekday">, import("convex/values").VObject<{ kind: "monthly"; time: string; dayOfMonth: number | "last"; }, { kind: import("convex/values").VLiteral<"monthly", "required">; dayOfMonth: import("convex/values").VUnion, import("convex/values").VLiteral<"last", "required">], "required", never>; time: import("convex/values").VString; }, "required", "kind" | "time" | "dayOfMonth">], "required", "kind" | "time" | "weekday" | "dayOfMonth">; enabled: import("convex/values").VBoolean; nextRunAt: import("convex/values").VFloat64; lastRunAt: import("convex/values").VFloat64; lastRunKey: import("convex/values").VString; createdAt: import("convex/values").VFloat64; updatedAt: import("convex/values").VFloat64; }, "required", "agentKey" | "consumerUserId" | "enabled" | "text" | "title" | "companyId" | "periodicity" | "schedule" | "timezone" | "updatedAt" | "createdAt" | "sourceTemplateId" | "nextRunAt" | "lastRunAt" | "lastRunKey" | "schedule.kind" | "schedule.time" | "schedule.weekday" | "schedule.dayOfMonth">, { by_enabled_and_nextRunAt: ["enabled", "nextRunAt", "_creationTime"]; by_consumerUserId: ["consumerUserId", "_creationTime"]; by_consumerUserId_and_enabled: ["consumerUserId", "enabled", "_creationTime"]; by_companyId: ["companyId", "_creationTime"]; by_companyId_and_enabled: ["companyId", "enabled", "_creationTime"]; by_sourceTemplateId: ["sourceTemplateId", "_creationTime"]; }, {}, {}>; messagePushDispatches: import("convex/server").TableDefinition | undefined; status: "failed" | "enqueued" | "skipped"; consumerUserId: string; jobId: import("convex/values").GenericId<"messagePushJobs">; scheduledFor: number; createdAt: number; runKey: string; }, { jobId: import("convex/values").VId, "required">; consumerUserId: import("convex/values").VString; runKey: import("convex/values").VString; scheduledFor: import("convex/values").VFloat64; enqueuedMessageId: import("convex/values").VId | undefined, "optional">; status: import("convex/values").VUnion<"failed" | "enqueued" | "skipped", [import("convex/values").VLiteral<"enqueued", "required">, import("convex/values").VLiteral<"skipped", "required">, import("convex/values").VLiteral<"failed", "required">], "required", never>; error: import("convex/values").VString; createdAt: import("convex/values").VFloat64; }, "required", "error" | "status" | "consumerUserId" | "jobId" | "scheduledFor" | "createdAt" | "runKey" | "enqueuedMessageId">, { by_jobId_and_runKey: ["jobId", "runKey", "_creationTime"]; by_consumerUserId_and_createdAt: ["consumerUserId", "createdAt", "_creationTime"]; }, {}, {}>; messagePushBroadcasts: import("convex/server").TableDefinition; title: import("convex/values").VString; text: import("convex/values").VString; target: import("convex/values").VLiteral<"all_active_agents", "required">; requestedBy: import("convex/values").VString; requestedAt: import("convex/values").VFloat64; status: import("convex/values").VUnion<"failed" | "running" | "done", [import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"done", "required">, import("convex/values").VLiteral<"failed", "required">], "required", never>; totalTargets: import("convex/values").VFloat64; enqueuedCount: import("convex/values").VFloat64; failedCount: import("convex/values").VFloat64; completedAt: import("convex/values").VFloat64; }, "required", "status" | "text" | "title" | "companyId" | "requestedBy" | "completedAt" | "target" | "requestedAt" | "totalTargets" | "enqueuedCount" | "failedCount">, { by_companyId_and_requestedAt: ["companyId", "requestedAt", "_creationTime"]; by_status: ["status", "_creationTime"]; }, {}, {}>; messagePushBroadcastDispatches: import("convex/server").TableDefinition | undefined; status: "failed" | "enqueued" | "skipped"; agentKey: string; consumerUserId: string; createdAt: number; runKey: string; broadcastId: import("convex/values").GenericId<"messagePushBroadcasts">; }, { broadcastId: import("convex/values").VId, "required">; consumerUserId: import("convex/values").VString; agentKey: import("convex/values").VString; runKey: import("convex/values").VString; enqueuedMessageId: import("convex/values").VId | undefined, "optional">; status: import("convex/values").VUnion<"failed" | "enqueued" | "skipped", [import("convex/values").VLiteral<"enqueued", "required">, import("convex/values").VLiteral<"skipped", "required">, import("convex/values").VLiteral<"failed", "required">], "required", never>; error: import("convex/values").VString; createdAt: import("convex/values").VFloat64; }, "required", "error" | "status" | "agentKey" | "consumerUserId" | "createdAt" | "runKey" | "enqueuedMessageId" | "broadcastId">, { by_broadcastId_and_consumerUserId: ["broadcastId", "consumerUserId", "_creationTime"]; by_broadcastId_and_createdAt: ["broadcastId", "createdAt", "_creationTime"]; }, {}, {}>; }, true>; export default _default; //# sourceMappingURL=schema.d.ts.map