import { type Infer } from 'convex/values'; export declare const vDurableExecutionErrorType: import("convex/values").VUnion<"generic" | "not_found" | "timed_out" | "cancelled", [import("convex/values").VLiteral<"generic", "required">, import("convex/values").VLiteral<"not_found", "required">, import("convex/values").VLiteral<"timed_out", "required">, import("convex/values").VLiteral<"cancelled", "required">], "required", never>; export declare const vDurableExecutionError: import("convex/values").VObject<{ errorType: "generic" | "not_found" | "timed_out" | "cancelled"; message: string; isRetryable: boolean; isInternal: boolean; }, { errorType: import("convex/values").VUnion<"generic" | "not_found" | "timed_out" | "cancelled", [import("convex/values").VLiteral<"generic", "required">, import("convex/values").VLiteral<"not_found", "required">, import("convex/values").VLiteral<"timed_out", "required">, import("convex/values").VLiteral<"cancelled", "required">], "required", never>; message: import("convex/values").VString; isRetryable: import("convex/values").VBoolean; isInternal: import("convex/values").VBoolean; }, "required", "errorType" | "message" | "isRetryable" | "isInternal">; export declare const vTaskExecutionStatus: import("convex/values").VUnion<"timed_out" | "cancelled" | "ready" | "running" | "failed" | "waiting_for_children" | "waiting_for_finalize" | "finalize_failed" | "completed", [import("convex/values").VLiteral<"ready", "required">, import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"failed", "required">, import("convex/values").VLiteral<"timed_out", "required">, import("convex/values").VLiteral<"waiting_for_children", "required">, import("convex/values").VLiteral<"waiting_for_finalize", "required">, import("convex/values").VLiteral<"finalize_failed", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"cancelled", "required">], "required", never>; export declare const vTaskExecutionOnChildrenFinishedProcessingStatus: import("convex/values").VUnion<"idle" | "processing" | "processed", [import("convex/values").VLiteral<"idle", "required">, import("convex/values").VLiteral<"processing", "required">, import("convex/values").VLiteral<"processed", "required">], "required", never>; export declare const vTaskExecutionCloseStatus: import("convex/values").VUnion<"ready" | "idle" | "closing" | "closed", [import("convex/values").VLiteral<"idle", "required">, import("convex/values").VLiteral<"ready", "required">, import("convex/values").VLiteral<"closing", "required">, import("convex/values").VLiteral<"closed", "required">], "required", never>; export declare const vTaskExecutionDBInsertValue: import("convex/values").VObject<{ rootTaskId?: string | undefined; rootExecutionId?: string | undefined; parentTaskId?: string | undefined; parentExecutionId?: string | undefined; parentExecutionDocId?: import("convex/values").GenericId<"taskExecutions"> | undefined; indexInParentChildren?: number | undefined; isOnlyChildOfParent?: boolean | undefined; isFinalizeOfParent?: boolean | undefined; sleepingTaskUniqueId?: string | undefined; executorId?: string | undefined; runOutput?: string | undefined; output?: string | undefined; error?: { errorType: "generic" | "not_found" | "timed_out" | "cancelled"; message: string; isRetryable: boolean; isInternal: boolean; } | undefined; startedAt?: number | undefined; expiresAt?: number | undefined; waitingForChildrenStartedAt?: number | undefined; waitingForFinalizeStartedAt?: number | undefined; finishedAt?: number | undefined; children?: { taskId: string; executionId: string; }[] | undefined; ocfpExpiresAt?: number | undefined; ocfpFinishedAt?: number | undefined; finalize?: { taskId: string; executionId: string; } | undefined; closeExpiresAt?: number | undefined; closedAt?: number | undefined; shard: number; taskId: string; executionId: string; isSleepingTask: boolean; retryOptions: { baseDelayMs?: number | undefined; maxDelayMs?: number | undefined; delayMultiplier?: number | undefined; maxAttempts: number; }; sleepMsBeforeRun: number; timeoutMs: number; areChildrenSequential: boolean; input: string; status: "timed_out" | "cancelled" | "ready" | "running" | "failed" | "waiting_for_children" | "waiting_for_finalize" | "finalize_failed" | "completed"; isFinished: boolean; retryAttempts: number; startAt: number; acc: number; ocfpStatus: "idle" | "processing" | "processed"; closeStatus: "ready" | "idle" | "closing" | "closed"; npc: boolean; createdAt: number; updatedAt: number; }, { shard: import("convex/values").VFloat64; rootTaskId: import("convex/values").VString; rootExecutionId: import("convex/values").VString; parentTaskId: import("convex/values").VString; parentExecutionId: import("convex/values").VString; parentExecutionDocId: import("convex/values").VId | undefined, "optional">; indexInParentChildren: import("convex/values").VFloat64; isOnlyChildOfParent: import("convex/values").VBoolean; isFinalizeOfParent: import("convex/values").VBoolean; taskId: import("convex/values").VString; executionId: import("convex/values").VString; isSleepingTask: import("convex/values").VBoolean; sleepingTaskUniqueId: import("convex/values").VString; retryOptions: import("convex/values").VObject<{ baseDelayMs?: number | undefined; maxDelayMs?: number | undefined; delayMultiplier?: number | undefined; maxAttempts: number; }, { maxAttempts: import("convex/values").VFloat64; baseDelayMs: import("convex/values").VFloat64; maxDelayMs: import("convex/values").VFloat64; delayMultiplier: import("convex/values").VFloat64; }, "required", "maxAttempts" | "baseDelayMs" | "maxDelayMs" | "delayMultiplier">; sleepMsBeforeRun: import("convex/values").VFloat64; timeoutMs: import("convex/values").VFloat64; areChildrenSequential: import("convex/values").VBoolean; input: import("convex/values").VString; executorId: import("convex/values").VString; status: import("convex/values").VUnion<"timed_out" | "cancelled" | "ready" | "running" | "failed" | "waiting_for_children" | "waiting_for_finalize" | "finalize_failed" | "completed", [import("convex/values").VLiteral<"ready", "required">, import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"failed", "required">, import("convex/values").VLiteral<"timed_out", "required">, import("convex/values").VLiteral<"waiting_for_children", "required">, import("convex/values").VLiteral<"waiting_for_finalize", "required">, import("convex/values").VLiteral<"finalize_failed", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"cancelled", "required">], "required", never>; isFinished: import("convex/values").VBoolean; runOutput: import("convex/values").VString; output: import("convex/values").VString; error: import("convex/values").VObject<{ errorType: "generic" | "not_found" | "timed_out" | "cancelled"; message: string; isRetryable: boolean; isInternal: boolean; } | undefined, { errorType: import("convex/values").VUnion<"generic" | "not_found" | "timed_out" | "cancelled", [import("convex/values").VLiteral<"generic", "required">, import("convex/values").VLiteral<"not_found", "required">, import("convex/values").VLiteral<"timed_out", "required">, import("convex/values").VLiteral<"cancelled", "required">], "required", never>; message: import("convex/values").VString; isRetryable: import("convex/values").VBoolean; isInternal: import("convex/values").VBoolean; }, "optional", "errorType" | "message" | "isRetryable" | "isInternal">; retryAttempts: import("convex/values").VFloat64; startAt: import("convex/values").VFloat64; startedAt: import("convex/values").VFloat64; expiresAt: import("convex/values").VFloat64; waitingForChildrenStartedAt: import("convex/values").VFloat64; waitingForFinalizeStartedAt: import("convex/values").VFloat64; finishedAt: import("convex/values").VFloat64; children: import("convex/values").VArray<{ taskId: string; executionId: string; }[] | undefined, import("convex/values").VObject<{ taskId: string; executionId: string; }, { taskId: import("convex/values").VString; executionId: import("convex/values").VString; }, "required", "taskId" | "executionId">, "optional">; acc: import("convex/values").VFloat64; ocfpStatus: import("convex/values").VUnion<"idle" | "processing" | "processed", [import("convex/values").VLiteral<"idle", "required">, import("convex/values").VLiteral<"processing", "required">, import("convex/values").VLiteral<"processed", "required">], "required", never>; ocfpExpiresAt: import("convex/values").VFloat64; ocfpFinishedAt: import("convex/values").VFloat64; finalize: import("convex/values").VObject<{ taskId: string; executionId: string; } | undefined, { taskId: import("convex/values").VString; executionId: import("convex/values").VString; }, "optional", "taskId" | "executionId">; closeStatus: import("convex/values").VUnion<"ready" | "idle" | "closing" | "closed", [import("convex/values").VLiteral<"idle", "required">, import("convex/values").VLiteral<"ready", "required">, import("convex/values").VLiteral<"closing", "required">, import("convex/values").VLiteral<"closed", "required">], "required", never>; closeExpiresAt: import("convex/values").VFloat64; closedAt: import("convex/values").VFloat64; npc: import("convex/values").VBoolean; createdAt: import("convex/values").VFloat64; updatedAt: import("convex/values").VFloat64; }, "required", "shard" | "rootTaskId" | "rootExecutionId" | "parentTaskId" | "parentExecutionId" | "parentExecutionDocId" | "indexInParentChildren" | "isOnlyChildOfParent" | "isFinalizeOfParent" | "taskId" | "executionId" | "isSleepingTask" | "sleepingTaskUniqueId" | "retryOptions" | "sleepMsBeforeRun" | "timeoutMs" | "areChildrenSequential" | "input" | "executorId" | "status" | "isFinished" | "runOutput" | "output" | "error" | "retryAttempts" | "startAt" | "startedAt" | "expiresAt" | "waitingForChildrenStartedAt" | "waitingForFinalizeStartedAt" | "finishedAt" | "children" | "acc" | "ocfpStatus" | "ocfpExpiresAt" | "ocfpFinishedAt" | "finalize" | "closeStatus" | "closeExpiresAt" | "closedAt" | "npc" | "createdAt" | "updatedAt" | "retryOptions.maxAttempts" | "retryOptions.baseDelayMs" | "retryOptions.maxDelayMs" | "retryOptions.delayMultiplier" | "error.errorType" | "error.message" | "error.isRetryable" | "error.isInternal" | "finalize.taskId" | "finalize.executionId">; export type TaskExecutionDBInsertValue = Infer; declare const _default: import("convex/server").SchemaDefinition<{ taskExecutions: import("convex/server").TableDefinition | undefined; indexInParentChildren?: number | undefined; isOnlyChildOfParent?: boolean | undefined; isFinalizeOfParent?: boolean | undefined; sleepingTaskUniqueId?: string | undefined; executorId?: string | undefined; runOutput?: string | undefined; output?: string | undefined; error?: { errorType: "generic" | "not_found" | "timed_out" | "cancelled"; message: string; isRetryable: boolean; isInternal: boolean; } | undefined; startedAt?: number | undefined; expiresAt?: number | undefined; waitingForChildrenStartedAt?: number | undefined; waitingForFinalizeStartedAt?: number | undefined; finishedAt?: number | undefined; children?: { taskId: string; executionId: string; }[] | undefined; ocfpExpiresAt?: number | undefined; ocfpFinishedAt?: number | undefined; finalize?: { taskId: string; executionId: string; } | undefined; closeExpiresAt?: number | undefined; closedAt?: number | undefined; shard: number; taskId: string; executionId: string; isSleepingTask: boolean; retryOptions: { baseDelayMs?: number | undefined; maxDelayMs?: number | undefined; delayMultiplier?: number | undefined; maxAttempts: number; }; sleepMsBeforeRun: number; timeoutMs: number; areChildrenSequential: boolean; input: string; status: "timed_out" | "cancelled" | "ready" | "running" | "failed" | "waiting_for_children" | "waiting_for_finalize" | "finalize_failed" | "completed"; isFinished: boolean; retryAttempts: number; startAt: number; acc: number; ocfpStatus: "idle" | "processing" | "processed"; closeStatus: "ready" | "idle" | "closing" | "closed"; npc: boolean; createdAt: number; updatedAt: number; }, { shard: import("convex/values").VFloat64; rootTaskId: import("convex/values").VString; rootExecutionId: import("convex/values").VString; parentTaskId: import("convex/values").VString; parentExecutionId: import("convex/values").VString; parentExecutionDocId: import("convex/values").VId | undefined, "optional">; indexInParentChildren: import("convex/values").VFloat64; isOnlyChildOfParent: import("convex/values").VBoolean; isFinalizeOfParent: import("convex/values").VBoolean; taskId: import("convex/values").VString; executionId: import("convex/values").VString; isSleepingTask: import("convex/values").VBoolean; sleepingTaskUniqueId: import("convex/values").VString; retryOptions: import("convex/values").VObject<{ baseDelayMs?: number | undefined; maxDelayMs?: number | undefined; delayMultiplier?: number | undefined; maxAttempts: number; }, { maxAttempts: import("convex/values").VFloat64; baseDelayMs: import("convex/values").VFloat64; maxDelayMs: import("convex/values").VFloat64; delayMultiplier: import("convex/values").VFloat64; }, "required", "maxAttempts" | "baseDelayMs" | "maxDelayMs" | "delayMultiplier">; sleepMsBeforeRun: import("convex/values").VFloat64; timeoutMs: import("convex/values").VFloat64; areChildrenSequential: import("convex/values").VBoolean; input: import("convex/values").VString; executorId: import("convex/values").VString; status: import("convex/values").VUnion<"timed_out" | "cancelled" | "ready" | "running" | "failed" | "waiting_for_children" | "waiting_for_finalize" | "finalize_failed" | "completed", [import("convex/values").VLiteral<"ready", "required">, import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"failed", "required">, import("convex/values").VLiteral<"timed_out", "required">, import("convex/values").VLiteral<"waiting_for_children", "required">, import("convex/values").VLiteral<"waiting_for_finalize", "required">, import("convex/values").VLiteral<"finalize_failed", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"cancelled", "required">], "required", never>; isFinished: import("convex/values").VBoolean; runOutput: import("convex/values").VString; output: import("convex/values").VString; error: import("convex/values").VObject<{ errorType: "generic" | "not_found" | "timed_out" | "cancelled"; message: string; isRetryable: boolean; isInternal: boolean; } | undefined, { errorType: import("convex/values").VUnion<"generic" | "not_found" | "timed_out" | "cancelled", [import("convex/values").VLiteral<"generic", "required">, import("convex/values").VLiteral<"not_found", "required">, import("convex/values").VLiteral<"timed_out", "required">, import("convex/values").VLiteral<"cancelled", "required">], "required", never>; message: import("convex/values").VString; isRetryable: import("convex/values").VBoolean; isInternal: import("convex/values").VBoolean; }, "optional", "errorType" | "message" | "isRetryable" | "isInternal">; retryAttempts: import("convex/values").VFloat64; startAt: import("convex/values").VFloat64; startedAt: import("convex/values").VFloat64; expiresAt: import("convex/values").VFloat64; waitingForChildrenStartedAt: import("convex/values").VFloat64; waitingForFinalizeStartedAt: import("convex/values").VFloat64; finishedAt: import("convex/values").VFloat64; children: import("convex/values").VArray<{ taskId: string; executionId: string; }[] | undefined, import("convex/values").VObject<{ taskId: string; executionId: string; }, { taskId: import("convex/values").VString; executionId: import("convex/values").VString; }, "required", "taskId" | "executionId">, "optional">; acc: import("convex/values").VFloat64; ocfpStatus: import("convex/values").VUnion<"idle" | "processing" | "processed", [import("convex/values").VLiteral<"idle", "required">, import("convex/values").VLiteral<"processing", "required">, import("convex/values").VLiteral<"processed", "required">], "required", never>; ocfpExpiresAt: import("convex/values").VFloat64; ocfpFinishedAt: import("convex/values").VFloat64; finalize: import("convex/values").VObject<{ taskId: string; executionId: string; } | undefined, { taskId: import("convex/values").VString; executionId: import("convex/values").VString; }, "optional", "taskId" | "executionId">; closeStatus: import("convex/values").VUnion<"ready" | "idle" | "closing" | "closed", [import("convex/values").VLiteral<"idle", "required">, import("convex/values").VLiteral<"ready", "required">, import("convex/values").VLiteral<"closing", "required">, import("convex/values").VLiteral<"closed", "required">], "required", never>; closeExpiresAt: import("convex/values").VFloat64; closedAt: import("convex/values").VFloat64; npc: import("convex/values").VBoolean; createdAt: import("convex/values").VFloat64; updatedAt: import("convex/values").VFloat64; }, "required", "shard" | "rootTaskId" | "rootExecutionId" | "parentTaskId" | "parentExecutionId" | "parentExecutionDocId" | "indexInParentChildren" | "isOnlyChildOfParent" | "isFinalizeOfParent" | "taskId" | "executionId" | "isSleepingTask" | "sleepingTaskUniqueId" | "retryOptions" | "sleepMsBeforeRun" | "timeoutMs" | "areChildrenSequential" | "input" | "executorId" | "status" | "isFinished" | "runOutput" | "output" | "error" | "retryAttempts" | "startAt" | "startedAt" | "expiresAt" | "waitingForChildrenStartedAt" | "waitingForFinalizeStartedAt" | "finishedAt" | "children" | "acc" | "ocfpStatus" | "ocfpExpiresAt" | "ocfpFinishedAt" | "finalize" | "closeStatus" | "closeExpiresAt" | "closedAt" | "npc" | "createdAt" | "updatedAt" | "retryOptions.maxAttempts" | "retryOptions.baseDelayMs" | "retryOptions.maxDelayMs" | "retryOptions.delayMultiplier" | "error.errorType" | "error.message" | "error.isRetryable" | "error.isInternal" | "finalize.taskId" | "finalize.executionId">, { by_executionId: ["executionId", "_creationTime"]; by_sleepingTaskUniqueId: ["sleepingTaskUniqueId", "_creationTime"]; by_shard_status_startAt: ["shard", "status", "startAt", "_creationTime"]; by_shard_status_ocfpStatus_acc_updatedAt: ["shard", "status", "ocfpStatus", "acc", "updatedAt", "_creationTime"]; by_shard_closeStatus_updatedAt: ["shard", "closeStatus", "updatedAt", "_creationTime"]; by_status_isSleepingTask_expiresAt: ["status", "isSleepingTask", "expiresAt", "_creationTime"]; by_ocfpExpiresAt: ["ocfpExpiresAt", "_creationTime"]; by_closeExpiresAt: ["closeExpiresAt", "_creationTime"]; by_shard_executorId_npc_updatedAt: ["shard", "executorId", "npc", "updatedAt", "_creationTime"]; by_parentExecutionId_isFinished: ["parentExecutionId", "isFinished", "_creationTime"]; by_shard_isFinished_closeStatus_updatedAt: ["shard", "isFinished", "closeStatus", "updatedAt", "_creationTime"]; }, {}, {}>; locks: import("convex/server").TableDefinition; expiresAt: import("convex/values").VFloat64; }, "required", "expiresAt" | "key">, { by_key: ["key", "_creationTime"]; by_key_expiresAt: ["key", "expiresAt", "_creationTime"]; }, {}, {}>; }, true>; export default _default; //# sourceMappingURL=schema.d.ts.map