import type { CreateWorkstreamInput } from './engine.js'; export interface AttemptsValidation { /** True when any item requests best-of-N (attempts >= 2). */ readonly hasAttempts: boolean; /** Hard rule breaks that must block a launch (worktree isolation + stable id when depended upon). */ readonly violations: readonly string[]; /** Non-blocking notes (e.g. an over-cap value the engine will clamp). */ readonly notes: readonly string[]; } /** * Validate a draft spec's best-of-N usage against the worktree-isolation and * stable-id (when depended upon) constraints. Non-leaf best-of-N is allowed. * Pure, no I/O. `violations` are hard (block launch); `notes` are advisory. */ export declare function validateAttempts(spec: CreateWorkstreamInput): AttemptsValidation; //# sourceMappingURL=workstream-attempts-validation.d.ts.map