/** * Configuración por defecto del SDK */ export declare const SDK_VERSION = "1.2.3"; export declare const SDK_NAME = "mailsafepro-sdk"; export declare const USER_AGENT = "mailsafepro-sdk/1.2.3"; export declare const DEFAULT_BASE_URL = "https://api.mailsafepro.es"; export declare const DEFAULT_TIMEOUT = 30000; export declare const DEFAULT_CONNECT_TIMEOUT = 10000; export declare const UPLOAD_TIMEOUT = 120000; export declare const DEFAULT_MAX_RETRIES = 3; export declare const DEFAULT_RETRY_DELAY = 500; export declare const MAX_RETRY_DELAY = 30000; export declare const RETRY_BACKOFF_MULTIPLIER = 2; export declare const RETRY_STATUS_CODES: number[]; export declare const RETRY_ERROR_CODES: string[]; export declare const DEFAULT_RATE_LIMIT: { maxRequestsPerSecond: number; maxConcurrent: number; }; export declare const MAX_BATCH_SIZE = 1000; export declare const MIN_BATCH_SIZE = 1; export declare const MAX_FILE_SIZE: number; export declare const SUPPORTED_FILE_TYPES: string[]; export declare const TOKEN_REFRESH_MARGIN_SECONDS = 60; export declare const MIN_TOKEN_LIFETIME_SECONDS = 120; export declare const DEFAULT_HTTP_HEADERS: { 'User-Agent': string; 'Content-Type': string; Accept: string; 'X-SDK-Version': string; }; export declare const DEFAULT_CACHE_TTL = 300; export declare const MAX_CACHE_SIZE = 1000; export declare const MAX_EMAIL_LENGTH = 320; export declare const MAX_LOCAL_PART_LENGTH = 64; export declare const MAX_DOMAIN_LENGTH = 253; export declare const MAX_DOMAIN_LABEL_LENGTH = 63; export declare const MIN_API_KEY_LENGTH = 20; export declare const LOG_LEVELS: { readonly DEBUG: 0; readonly INFO: 1; readonly WARN: 2; readonly ERROR: 3; readonly NONE: 4; }; export type LogLevel = keyof typeof LOG_LEVELS; export declare const DEFAULT_HTTP_CONFIG: { timeout: number; headers: { 'User-Agent': string; 'Content-Type': string; Accept: string; 'X-SDK-Version': string; }; validateStatus: (status: number) => boolean; maxRedirects: number; maxContentLength: number; }; export declare const API_ENDPOINTS: { readonly LOGIN: "/auth/login"; readonly REGISTER: "/auth/register"; readonly LOGOUT: "/auth/logout"; readonly REFRESH: "/auth/refresh"; readonly VERIFY_EMAIL: "/auth/verify-email"; readonly RESET_PASSWORD: "/auth/reset-password"; readonly VALIDATE_SINGLE: "/validate/email"; readonly VALIDATE_BATCH: "/validate/batch"; readonly BATCH_UPLOAD: "/validate/batch/upload"; readonly BATCH_STATUS: "/jobs/:jobId"; readonly PROFILE: "/account/profile"; readonly USAGE: "/validate/stats/usage"; readonly API_KEYS: "/account/api-keys"; }; /** * Environment detection * CORREGIDO: Usar typeof para evitar error de referencia */ export declare const isNode: boolean; export declare const isBrowser: boolean; export declare const FEATURES: { readonly AUTO_RETRY: true; readonly RATE_LIMITING: true; readonly REQUEST_LOGGING: true; readonly RESPONSE_CACHING: false; readonly AUTO_TOKEN_REFRESH: true; readonly TELEMETRY: false; }; //# sourceMappingURL=defaults.d.ts.map