import { BaseError, type ErrorDetails } from './BaseError.js'; /** * Error thrown when an operation does not complete within the specified time * Used for asynchronous operations with time limits */ export declare class TimeoutError extends BaseError { /** * TimeoutError 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 a TimeoutError * @param error - The error object to check * @returns Whether the error is a TimeoutError */ export declare const isTimeoutError: (error: unknown) => error is TimeoutError;