import { type WidgetData, type WidgetSettingsData } from '../sdk';
export declare class WidgetService {
    private mtxId?;
    private mtxKey?;
    private mtxApp?;
    constructor(mtxId?: string, mtxKey?: string, mtxApp?: number);
    /**
     * Fetch widget settings from the API
     * Always returns default settings merged with existing widget settings if found
     * Returns null if no credentials provided (for preview mode)
     */
    fetchWidgetSettings(): Promise<WidgetData | null>;
    /**
     * Get widget settings from widget data
     * Settings are always objects (current API format)
     */
    getWidgetSettings(widget: WidgetData): WidgetSettingsData | null;
}
export default WidgetService;
//# sourceMappingURL=WidgetService.d.ts.map