export * from './core/CipherService.js'; export * from './core/PayloadEncoder.js'; export * from './core/Response.js'; export * from './exceptions/LogisticsException.js'; /** * SDK Version */ export declare const VERSION = "0.0.1"; /** * ECPay Full Logistics API Modes */ export declare const enum ApiMode { /** Production environment */ Production = "production", /** Staging/Test environment */ Staging = "staging" } /** * ECPay Full Logistics API URLs */ export declare const API_URLS: { readonly production: "https://logistics.ecpay.com.tw"; readonly staging: "https://logistics-stage.ecpay.com.tw"; }; /** * Configuration for the ECPay Full Logistics client */ export interface EcPayConfig { /** Merchant ID provided by ECPay */ merchantId: string; /** Hash Key for request signing */ hashKey: string; /** Hash IV for request signing */ hashIv: string; /** API mode (production or staging) */ mode?: ApiMode; } /** * Validates the ECPay configuration */ export declare function validateConfig(config: EcPayConfig): boolean; /** * Creates the API base URL based on the mode */ export declare function getApiUrl(mode?: ApiMode): string;