import { z } from "zod"; export declare const FEATURE_WORKFLOW_PLAN_SCHEMA: "omnius.feature-workflow-plan.v1"; export declare const FEATURE_WORKFLOW_PHASES: readonly [ "research", "specification", "implementation", "integration", "acceptance", "handoff" ]; export declare const FeatureWorkflowPhaseSchema: z.ZodEnum<{ research: "research"; specification: "specification"; implementation: "implementation"; integration: "integration"; acceptance: "acceptance"; handoff: "handoff"; }>; export declare const FeatureWorkflowArtifactReferenceSchema: z.ZodString; export declare const FeatureWorkflowCardSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; phase: z.ZodEnum<{ research: "research"; specification: "specification"; implementation: "implementation"; integration: "integration"; acceptance: "acceptance"; handoff: "handoff"; }>; role: z.ZodEnum<{ verifier: "verifier"; researcher: "researcher"; author: "author"; reviewer: "reviewer"; implementer: "implementer"; integrator: "integrator"; synthesizer: "synthesizer"; }>; dependsOn: z.ZodDefault>; sourceIds: z.ZodDefault>; inputSlots: z.ZodDefault>; reviewSlots: z.ZodDefault>; ownedFiles: z.ZodDefault>; acceptanceIds: z.ZodDefault>; verifier: z.ZodOptional; targetPaths: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; export declare const FeatureWorkflowPlanSchema: z.ZodObject<{ schema: z.ZodLiteral<"omnius.feature-workflow-plan.v1">; id: z.ZodString; revision: z.ZodNumber; objective: z.ZodString; requirements: z.ZodArray>; sources: z.ZodDefault>>; slots: z.ZodArray; cardId: z.ZodString; requiresReview: z.ZodDefault; }, z.core.$strict>>; cards: z.ZodArray; role: z.ZodEnum<{ verifier: "verifier"; researcher: "researcher"; author: "author"; reviewer: "reviewer"; implementer: "implementer"; integrator: "integrator"; synthesizer: "synthesizer"; }>; dependsOn: z.ZodDefault>; sourceIds: z.ZodDefault>; inputSlots: z.ZodDefault>; reviewSlots: z.ZodDefault>; ownedFiles: z.ZodDefault>; acceptanceIds: z.ZodDefault>; verifier: z.ZodOptional; targetPaths: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>; export type FeatureWorkflowPlan = z.infer; export type FeatureWorkflowCard = z.infer; export type FeatureWorkflowPhase = z.infer; /** Host dispatch metadata. This type is never part of a model-callable schema. */ export interface FeatureWorkflowOperationBinding { parentOperationId: string; parentRunId: string; parentGeneration: number; taskEpoch: number; cardId: string; planReference: string; cardContract: string; inputSlots: Record; kind: "work" | "review" | "verification"; readOnly: boolean; ownedFiles: string[]; inputArtifactsHash: string; } /** Minted by the child runner adapter from actual execution/terminal state. */ export interface FeatureWorkflowChildReceipt extends FeatureWorkflowOperationBinding { schema: "omnius.feature-workflow-child-receipt.v1"; childId: string; childRunId: string; childTaskEpoch: number; /** SHA256 of actual dispatched task, system context and tool surface; distinct from inputArtifactsHash. */ childInputHash: string; status: "completed" | "failed" | "cancelled" | "running"; terminalReceiptId?: string; } export interface FeatureWorkflowInputArtifact { slotId: string; reference: string; content: string; } /** Parsed only from a completed child's host-attested accepted reply. */ export declare const FeatureWorkflowChildReportSchema: z.ZodObject<{ schema: z.ZodLiteral<"omnius.feature-workflow-child-report.v1">; cardId: z.ZodString; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; partial: "partial"; blocked: "blocked"; }>; inputSlots: z.ZodRecord; artifacts: z.ZodDefault>>; review: z.ZodOptional; reviewedSlots: z.ZodRecord; findings: z.ZodArray; detail: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; blockers: z.ZodArray; unresolvedQuestions: z.ZodArray; }, z.core.$strict>; export type FeatureWorkflowChildReport = z.infer; /** Model-callable inputs deliberately exclude pass flags, actor IDs and host receipts. */ export declare const FeatureWorkflowToolInputSchema: z.ZodDiscriminatedUnion<[ z.ZodObject<{ action: z.ZodEnum<{ create: "create"; revise: "revise"; }>; plan: z.ZodObject<{ schema: z.ZodLiteral<"omnius.feature-workflow-plan.v1">; id: z.ZodString; revision: z.ZodNumber; objective: z.ZodString; requirements: z.ZodArray>; sources: z.ZodDefault>>; slots: z.ZodArray; cardId: z.ZodString; requiresReview: z.ZodDefault; }, z.core.$strict>>; cards: z.ZodArray; role: z.ZodEnum<{ verifier: "verifier"; researcher: "researcher"; author: "author"; reviewer: "reviewer"; implementer: "implementer"; integrator: "integrator"; synthesizer: "synthesizer"; }>; dependsOn: z.ZodDefault>; sourceIds: z.ZodDefault>; inputSlots: z.ZodDefault>; reviewSlots: z.ZodDefault>; ownedFiles: z.ZodDefault>; acceptanceIds: z.ZodDefault>; verifier: z.ZodOptional; targetPaths: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"status">; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"discover">; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"resume">; runId: z.ZodString; planReference: z.ZodString; objectiveId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"repair">; cardId: z.ZodString; failedCardId: z.ZodString; reason: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"record_artifact">; cardId: z.ZodString; slotId: z.ZodString; path: z.ZodString; }, z.core.$strict> ], "action">; /** Shared references keep the exact native tool definition inside normal schema budgets. */ export declare const FeatureWorkflowToolJsonSchema: z.core.ZodStandardJSONSchemaPayload; plan: z.ZodObject<{ schema: z.ZodLiteral<"omnius.feature-workflow-plan.v1">; id: z.ZodString; revision: z.ZodNumber; objective: z.ZodString; requirements: z.ZodArray>; sources: z.ZodDefault>>; slots: z.ZodArray; cardId: z.ZodString; requiresReview: z.ZodDefault; }, z.core.$strict>>; cards: z.ZodArray; role: z.ZodEnum<{ verifier: "verifier"; researcher: "researcher"; author: "author"; reviewer: "reviewer"; implementer: "implementer"; integrator: "integrator"; synthesizer: "synthesizer"; }>; dependsOn: z.ZodDefault>; sourceIds: z.ZodDefault>; inputSlots: z.ZodDefault>; reviewSlots: z.ZodDefault>; ownedFiles: z.ZodDefault>; acceptanceIds: z.ZodDefault>; verifier: z.ZodOptional; targetPaths: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"status">; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"discover">; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"resume">; runId: z.ZodString; planReference: z.ZodString; objectiveId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"repair">; cardId: z.ZodString; failedCardId: z.ZodString; reason: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"record_artifact">; cardId: z.ZodString; slotId: z.ZodString; path: z.ZodString; }, z.core.$strict> ], "action">>;