import { ErrorCategory } from "./error-category.type.mjs"; import { AIErrorOptions } from "./ai-error.mjs"; import { ProviderError } from "./provider-error.mjs"; //#region ../ai/src/errors/provider-timeout-error.d.ts /** * Provider call timed out — either at the transport layer (socket * connection) or on the server side (request exceeded the provider's * processing deadline). Idempotent retries are usually safe. * * @example * if (result.error instanceof ProviderTimeoutError) { * return retry(); * } */ declare class ProviderTimeoutError extends ProviderError { static readonly defaultCategory: ErrorCategory; constructor(message: string, options?: AIErrorOptions); } //#endregion export { ProviderTimeoutError }; //# sourceMappingURL=provider-timeout-error.d.mts.map