import type { AjaxErrorCause } from './types.js'; export declare const prefix = "[@canlooks/ajax] "; export declare const debug: boolean; export declare class AjaxError extends Error { cause: AjaxErrorCause; constructor(message: string | undefined, cause: AjaxErrorCause); type: string; } export declare class NetworkError extends AjaxError { cause: AjaxErrorCause; constructor(message: string | undefined, cause: AjaxErrorCause); type: string; } export declare class AbortError extends AjaxError { cause: AjaxErrorCause; constructor(message: string | undefined, cause: AjaxErrorCause); type: string; } export declare class TimeoutError extends AjaxError { cause: AjaxErrorCause; constructor(message: string | undefined, cause: AjaxErrorCause); type: string; }