import { BaseError, type ErrorDetails } from '@winglet/common-utils/error'; /** * Error thrown when an error occurs in the DataLoader * Can occur during batching, caching, or other operations */ export declare class DataLoaderError extends BaseError { /** * DataLoaderError 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 DataLoaderError * @param error - The error object to check * @returns Whether the error is an DataLoaderError */ export declare const isDataLoaderError: (error: unknown) => error is DataLoaderError;