import { BaseError, type ErrorDetails } from './BaseError.js'; /** * Error thrown when an operation is cancelled * Can be triggered by AbortController or manual cancellation */ export declare class AbortError extends BaseError { /** * AbortError constructor * @param code - Specific error code * @param message - Error message * @param details - Additional error information */ constructor(code: string, message: string, details?: ErrorDetails); } /** * Type guard function to check if the given error is an AbortError * @param error - The error object to check * @returns Whether the error is an AbortError */ export declare const isAbortError: (error: unknown) => error is AbortError;