import { ISettings, IContent } from '../types';
import { AnalyticsPayload, OrderRequestPayload } from '../types/api';
declare const Api: {
    currentApiUrl: string;
    initialize(config?: {
        debug?: {
            apiUrl?: string;
        };
    }): void;
    readonly apiUrl: string;
    getSettings(apiKey: string, widgetVersion: number, localization?: string): Promise<ISettings & {
        id: string;
    }>;
    getContent(token: string, widgetVersion: number, sources?: {
        productIds?: string[];
        collectionIds?: string[];
    }, settings?: ISettings): Promise<IContent>;
    trackAnalyticsBatch(payloads: AnalyticsPayload[]): Promise<void>;
    trackOrder(payload: OrderRequestPayload): Promise<void>;
};
export default Api;
