import { eg, type TypeFromCodec } from "@cloudflare/util-en-garde"; export const DispatchMode = eg.union([eg.literal("queue"), eg.literal("workflows")]); export type DispatchMode = TypeFromCodec; export const ExecutionRuntime = eg.literal("cloudflare_sandbox"); export type ExecutionRuntime = TypeFromCodec; export const DEFAULT_DISPATCH_MODE: DispatchMode = "workflows"; export const DEFAULT_EXECUTION_RUNTIME: ExecutionRuntime = "cloudflare_sandbox";