import { Effect } from "effect"; import { DecomposeService } from "@jamesaphoenix/tx"; import type { DecomposeRequest } from "@jamesaphoenix/tx/types"; export declare const runDecomposeApi: (payload: DecomposeRequest) => Effect.Effect<{ readonly doc: { readonly title: string; readonly docId: string & import("effect/Brand").Brand<"DocStableId">; readonly name: string; readonly kind: "design"; readonly filePath: string; }; readonly model: string | null; readonly runtime: "auto" | "claude" | "codex"; readonly dryRun: boolean; readonly rationale: string | null; readonly plan: { readonly tasks: readonly { readonly title: string; readonly description: string; readonly score: number; readonly localId: string; readonly parentLocalId: string | null; readonly dependsOn: readonly string[]; }[]; readonly rationale?: string | undefined; readonly rootTask: { readonly title: string; readonly description: string; readonly score: number; }; }; readonly parentTaskId: (string & import("effect/Brand").Brand<"TaskId">) | null; readonly rootTaskPreview: { readonly title: string; readonly description: string; readonly score: number; readonly existingParentTaskId: (string & import("effect/Brand").Brand<"TaskId">) | null; }; readonly rootTask: { readonly blockedBy: readonly (string & import("effect/Brand").Brand<"TaskId">)[]; readonly blocks: readonly (string & import("effect/Brand").Brand<"TaskId">)[]; readonly children: readonly (string & import("effect/Brand").Brand<"TaskId">)[]; readonly isReady: boolean; readonly groupContext: string | null; readonly effectiveGroupContext: string | null; readonly effectiveGroupContextSourceTaskId: (string & import("effect/Brand").Brand<"TaskId">) | null; readonly orchestrationStatus: "unclaimed" | "claimed" | "running" | "lease_expired" | "released" | null; readonly claimedBy: string | null; readonly claimExpiresAt: string | null; readonly failedAttempts: number; readonly linkedDocs: readonly { readonly title: string; readonly status: "changing" | "locked"; readonly docId: string & import("effect/Brand").Brand<"DocStableId">; readonly name: string; readonly kind: string & import("effect/Brand").Brand<"DocKind">; readonly version: number; readonly filePath: string; readonly linkType: "implements" | "references"; }[]; readonly id: string & import("effect/Brand").Brand<"TaskId">; readonly title: string; readonly description: string; readonly status: "backlog" | "ready" | "planning" | "active" | "blocked" | "review" | "needs_review" | "done"; readonly parentId: (string & import("effect/Brand").Brand<"TaskId">) | null; readonly score: number; readonly createdAt: string; readonly updatedAt: string; readonly completedAt: string | null; readonly assigneeType: "human" | "agent" | null; readonly assigneeId: string | null; readonly assignedAt: string | null; readonly assignedBy: string | null; readonly metadata: { readonly [x: string]: unknown; }; } | null; readonly createdTasks: readonly { readonly title: string; readonly score: number; readonly taskId: string & import("effect/Brand").Brand<"TaskId">; readonly parentTaskId: string & import("effect/Brand").Brand<"TaskId">; readonly localId: string; readonly dependsOn: readonly string[]; }[]; }, import("../api.js").NotFound | import("../api.js").BadRequest | import("../api.js").InternalError | import("../api.js").Unauthorized | import("../api.js").Forbidden | import("../api.js").ServiceUnavailable, DecomposeService>; export declare const DecomposeLive: import("effect/Layer").Layer, never, DecomposeService>; //# sourceMappingURL=decompose.d.ts.map