/** * API Configuration for Onairos SDK * * IMPORTANT: This is the single source of truth for the API base URL. * All files should import API_CONFIG.BASE_URL instead of hardcoding URLs. */ type Environment = 'production' | 'staging' | 'development'; /** * Set the SDK environment (call before any API operations) * @param env - 'production' | 'staging' | 'development' */ export declare const setEnvironment: (env: Environment) => void; /** * Get the current base URL based on environment (matches npm SDK API_CONFIG.getBaseUrl()) */ export declare const getBaseUrl: () => string; export declare const setImportBridgeBaseUrl: (url: string | null | undefined) => void; export declare const getImportBridgeBaseUrl: () => string; export declare const API_CONFIG: { readonly BASE_URL: string; readonly IMPORT_BRIDGE_BASE_URL: string; getBaseUrl: () => string; getImportBridgeBaseUrl: () => string; ENDPOINTS: { AUTH: string; USER: string; CONNECTIONS: string; TRAINING: string; OAUTH: string; }; TIMEOUT: number; }; export declare const getApiHeaders: () => { 'Content-Type': string; Accept: string; }; export declare const getAuthHeaders: (token?: string) => { Authorization: string; 'Content-Type': string; Accept: string; }; /** * Get headers with User JWT for authenticated requests * Use this for all post-login API calls (platform connects, etc.) * * TIER 2 Authentication: User must be logged in */ export declare const getUserAuthHeaders: () => Promise>; export {}; //# sourceMappingURL=api.d.ts.map