import { IWidgetComponentApi, WidgetAction, WidgetComponentEvent } from "../apis/api.interfaces";
import { CustomTheme } from "../../appTheme";
import { Theme } from "@fluentui/react";
export declare class WidgetComponentApi implements IWidgetComponentApi {
    private _eventListeners;
    private currentTheme;
    constructor();
    triggerAction: (source: WidgetAction) => void;
    getTheme: () => Theme & CustomTheme;
    updateTheme: (theme: Theme & CustomTheme) => void;
    addEventListener(eventName: WidgetComponentEvent, listener: (data?: any) => any): void;
    removeEventListener(eventName: WidgetComponentEvent, listener: (data?: any) => any): void;
    private fireEvent;
}
