import { ErrorCategory } from "./error-category.type.mjs"; import { AIErrorOptions } from "./ai-error.mjs"; import { WorkflowError } from "./workflow-error.mjs"; //#region ../ai/src/errors/max-steps-exceeded-error.d.ts type MaxStepsExceededErrorOptions = AIErrorOptions & { maxSteps: number; }; /** * Runaway-loop hard guard: workflow executed more step transitions * than `maxSteps` allows. Terminates the workflow immediately. */ declare class MaxStepsExceededError extends WorkflowError { static readonly defaultCategory: ErrorCategory; readonly maxSteps: number; constructor(message: string, options: MaxStepsExceededErrorOptions); } //#endregion export { MaxStepsExceededError, MaxStepsExceededErrorOptions }; //# sourceMappingURL=max-steps-exceeded-error.d.mts.map