import { AIErrorOptions } from "./ai-error.mjs"; import { WorkflowError } from "./workflow-error.mjs"; //#region ../ai/src/errors/step-failed-error.d.ts type StepFailedErrorOptions = AIErrorOptions & { stepName: string; attempts: number; }; /** * A workflow step exhausted its retries (or was not retried) and * terminated with an error. `cause` carries the last underlying error. */ declare class StepFailedError extends WorkflowError { readonly stepName: string; readonly attempts: number; constructor(message: string, options: StepFailedErrorOptions); } //#endregion export { StepFailedError, StepFailedErrorOptions }; //# sourceMappingURL=step-failed-error.d.mts.map