import { DisallowedTransitionError, type NextStepDirective, UnknownStepError, type AgentManifest } from '@sapiom/agent'; export declare function validateDirective(manifest: AgentManifest, stepName: string, directive: NextStepDirective): UnknownStepError | DisallowedTransitionError | null; export declare function decideRetry(currentAttempt: number, maxAttempts: number): 'retry' | 'fail';