declare const getCurrentScript: () => HTMLScriptElement | null;
type WidgetEnvironment = "production" | "development" | "staging";
declare const getEnvironment: (value: string | null) => WidgetEnvironment | undefined;
declare const scriptEl: HTMLScriptElement | null;
declare const DEFAULT_WIDGET_ASSET_BASE: string;
type MedAssistInitConfig = {
    auth?: string;
    agentId?: string;
    context?: Record<string, unknown>;
    title?: string;
    iconUrl?: string;
    baseUrl?: string;
    [key: string]: unknown;
};
interface EkaMedAssistWindow extends Window {
    EkaMedAssist?: {
        init: (config: MedAssistInitConfig) => void;
        onClose?: () => void;
    };
    __ekaMedAssistConfig__?: MedAssistInitConfig;
}
declare const globalMedAssistConfig: MedAssistInitConfig;
declare const getWidgetElement: () => HTMLElement | null;
declare const scriptBaseUrl: string;
declare const widgetAssetBaseUrl: string;
declare const WIDGET_JS_URL: string;
declare const WIDGET_CSS_URL: string;
declare let widgetScriptPromise: Promise<void> | null;
declare let widgetCssTextPromise: Promise<string> | null;
declare class MedAssistWidgetLoader extends HTMLElement {
    private defaultIconUrl;
    private widgetLoaded;
    private displayMode;
    constructor();
    static get observedAttributes(): string[];
    connectedCallback(): void;
    attributeChangedCallback(name: string): void;
    private preloadResources;
    private setupAuthExpirationListener;
    openFromBridge(): void;
    renderButton(): void;
    initializeFullMode(): void;
    loadAndRender(): Promise<void>;
    loadWidgetCss(): Promise<void>;
    loadWidgetScript(): Promise<void>;
}
//# sourceMappingURL=index.d.ts.map