import { InjectionToken } from '@angular/core'; /** * Configuration interface for Subtrak SDK */ export interface SubtrakConfig { /** * Public API key (pk_test_* or pk_live_*) * For read-only access to products, prices, and public data */ publicKey?: string; /** * Secret API key (sk_test_* or sk_live_*) * For full API access (use only in secure server-side contexts) */ secretKey?: string; /** * API base URL * @default 'https://subtrak-api-staging-378055833376.europe-west1.run.app/api/v5/' */ apiUrl?: string; /** * Request timeout in milliseconds * @default 30000 (30 seconds) */ timeout?: number; /** * Maximum number of retry attempts for failed requests * @default 3 */ maxRetries?: number; /** * Customer ID for customer-scoped operations * Can be set later via SubtrakService.setCustomerId() */ customerId?: string; /** * Enable debug logging * @default false */ debug?: boolean; } /** * Default configuration values */ export declare const DEFAULT_SUBTRAK_CONFIG: Partial; /** * Injection token for Subtrak configuration */ export declare const SUBTRAK_CONFIG: InjectionToken;