export declare const workerStatusValidator: 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>; export type WorkerStatus = "active" | "draining" | "stopping" | "stopped"; export declare function isWorkerClaimable(status: WorkerStatus): boolean; export declare function isWorkerRunning(status: WorkerStatus): boolean; export declare function isWorkerDrainPending(status: WorkerStatus): boolean; export declare function isWorkerTeardownPending(status: WorkerStatus): boolean; export declare function isWorkerTerminal(status: WorkerStatus): boolean; export declare function canTransitionWorkerStatus(current: WorkerStatus, next: WorkerStatus): boolean; //# sourceMappingURL=workerLifecycle.d.ts.map