/** * Typed error thrown when a model call exceeds the prompt's configured `AIPrompt.TimeoutMS`. * * The message intentionally contains the word "timeout" so that * {@link https://github.com/MemberJunction/MJ | ErrorAnalyzer} classifies it as a `NetworkError` * (severity `Retriable`, `canFailover: true`) — meaning a timed-out model call participates in the * normal failover/retry machinery exactly like a hung socket would, instead of silently hanging. * * Callers that need to distinguish a configured-timeout abort from any other network failure can * do so structurally via `instanceof AIPromptTimeoutError` (or by checking `name`, which survives * a serialization round-trip). */ export declare class AIPromptTimeoutError extends Error { /** The configured timeout, in milliseconds, that was exceeded. */ readonly TimeoutMS: number; /** Name of the prompt whose TimeoutMS was exceeded. */ readonly PromptName: string; constructor(promptName: string, timeoutMS: number); } //# sourceMappingURL=AIPromptTimeoutError.d.ts.map