import React from 'react';
import type { AddWidgetConfig, MarketrixConfig, MarketrixWidgetProps } from './types';
import { getCurrentConfig } from './utils/bootstrap';
export declare const initWidget: (config: MarketrixConfig, container?: HTMLElement) => Promise<void>;
export declare const unmountWidget: () => void;
export declare const updateMarketrixConfig: (newConfig: Partial<MarketrixConfig>) => Promise<void>;
export { getCurrentConfig };
/**
 * MarketrixWidget - React component for preview mode
 * Renders widget into parent container with shadow DOM
 */
export declare const MarketrixWidget: React.FC<MarketrixWidgetProps>;
/**
 * addWidget - Function that auto-detects mode and initializes widget
 * Supports preview, production, and dev modes
 */
export declare const mountWidget: (config: AddWidgetConfig) => Promise<void>;
export type { InstructionType } from './sdk';
export type { AddWidgetConfig, ChatMessage, MarketrixConfig, MarketrixWidgetProps, WidgetState, } from './types';
declare const _default: {
    MarketrixWidget: React.FC<MarketrixWidgetProps>;
    mountWidget: (config: AddWidgetConfig) => Promise<void>;
    initWidget: (config: MarketrixConfig, container?: HTMLElement) => Promise<void>;
    unmountWidget: () => void;
    updateMarketrixConfig: (newConfig: Partial<MarketrixConfig>) => Promise<void>;
    getCurrentConfig: () => MarketrixConfig | null;
};
export default _default;
//# sourceMappingURL=index.d.ts.map