/** * Built-in effects verifier — static EffectIR checks (0.3 Trusted Effects MVP). * * Collects phase-level `effects[]`, * runs validateEffectIR, maps issues to VerificationIssue with category `"effects"`. * * Wired into `verifyTaskflow` as a built-in detector (always on when effects are * present). Also exported as {@link effectsLintVerifier} for plugin-style * registration (e.g. `pluginVerifierErrors` / explicit host lists). */ import { type ComposedEffectFlowLike } from "../effects/validate.ts"; import type { TaskflowVerifier, VerifiableFlow, VerificationIssue } from "../verify.ts"; /** Options for the static effects detector. */ export interface DetectEffectsIssuesOptions { /** Optional saved-flow loader used to resolve `flow{use}` children. When * provided, resolved children are checked with their real effects; children * the loader cannot resolve degrade to advisory warnings (the runtime * loader remains the authoritative admission gate). */ resolveFlow?: (name: string) => ComposedEffectFlowLike | undefined; } /** * Collect all declared effects from each phase, prefix * phase effect ids with `phaseId/` for unique bag identity, and run * `validateEffectIR`. Returns VerificationIssues with `category: "effects"`. * * Pure — no I/O. Empty effects → empty array (does not fail verify). */ export declare function detectEffectsIssues(flow: VerifiableFlow, options?: DetectEffectsIssuesOptions): VerificationIssue[]; /** Plugin-style wrapper around {@link detectEffectsIssues} for hosts that * register verifiers explicitly. Prefer the built-in path via `verifyTaskflow` * (category `"effects"`); this path stamps category `"plugin"`. */ export declare const effectsLintVerifier: TaskflowVerifier; //# sourceMappingURL=effects-lint.d.ts.map