/**
 * `@hyperframes/producer/distributed` — the distributed render primitives.
 *
 * The three activities (`plan` → `renderChunk` × N → `assemble`) are pure
 * functions over local file paths; networking + orchestration live in
 * adapters.
 *
 * Adopters (AWS Lambda, Cloud Run Jobs, Temporal, K8s Jobs, plain SSH):
 *
 * ```ts
 * import {
 *   plan,
 *   renderChunk,
 *   assemble,
 * } from "@hyperframes/producer/distributed";
 *
 * // Controller-side: produce a self-contained planDir + content-addressed planHash.
 * const planResult = await plan(projectDir, config, planDir);
 *
 * // Worker-side: render one chunk. Byte-identical retries on the same
 * // (planDir, chunkIndex) — Temporal / Step Functions retry policies are
 * // safe to point at this.
 * const chunk = await renderChunk(planDir, chunkIndex, outputChunkPath);
 *
 * // Controller-side: stitch chunks into the final deliverable.
 * await assemble(planDir, chunkPaths, audioPath, outputPath);
 * ```
 *
 * No networking, no AWS SDK, no Temporal SDK — those live in adapter
 * packages. This module is library code only.
 */
export { buildChunkSlices, measurePlanDirBytes, plan, rejectUnsupportedDistributedFormat, resolveChunkPlan, type DistributedRenderConfig, type PlanResult, DEFAULT_CHUNK_SIZE, DEFAULT_MAX_PARALLEL_CHUNKS, MIN_CHUNK_SIZE, PLAN_DIR_SIZE_LIMIT_BYTES, PLAN_PROJECT_DIR_SKIP_SEGMENTS, FORMAT_NOT_SUPPORTED_IN_DISTRIBUTED, FormatNotSupportedInDistributedError, PLAN_TOO_LARGE, PlanTooLargeError, } from "./services/distributed/plan.js";
export { applyRuntimeEnvSnapshot, readWebGlVendorInfoFromCanvas, renderChunk, type ChunkResult, FFMPEG_VERSION_MISMATCH, PLAN_HASH_MISMATCH, RenderChunkValidationError, } from "./services/distributed/renderChunk.js";
export { assemble, type AssembleResult } from "./services/distributed/assemble.js";
export { InvalidConfigError, type SerializableDistributedRenderConfig, validateDistributedRenderConfig, validateVariablesPayload, } from "./services/distributed/renderConfigValidation.js";
export { hashProjectDir } from "./services/distributed/projectHash.js";
export type { DistributedFormat } from "./services/distributed/shared.js";
export type { ChunkSliceJson, CompositionMetadataJson, LockedRenderConfig, } from "./services/render/stages/freezePlan.js";
//# sourceMappingURL=distributed.d.ts.map