/** * Logistics Exception * * Base exception class for all logistics-related errors. */ export declare class LogisticsException extends Error { constructor(message: string); /** * Required field is missing */ static required(field: string): LogisticsException; /** * Field value is invalid */ static invalid(field: string, reason?: string): LogisticsException; /** * Field value exceeds maximum length */ static tooLong(field: string, maxLength: number): LogisticsException; /** * HTTP request failed */ static httpError(message: string): LogisticsException; /** * API returned an error */ static apiError(code: string | number, message: string): LogisticsException; /** * Value is not in the allowed range */ static notInRange(field: string, allowedValues: (string | number)[]): LogisticsException; }