import type { MarketrixConfig } from '../types';
interface UseWidgetProps {
    config?: MarketrixConfig;
}
export declare const useWidget: ({ config }?: UseWidgetProps) => {
    state: import("..").WidgetState;
    marketrixConfig: MarketrixConfig;
    settings: {
        widget_enabled: boolean;
        widget_appearance: "default" | "compact" | "full";
        widget_position: "bottom_left" | "bottom_right";
        widget_device: "desktop" | "mobile" | "desktop_mobile";
        widget_header: string;
        widget_body: string;
        widget_greeting: string;
        widget_feature_tell: boolean;
        widget_feature_show: boolean;
        widget_feature_do: boolean;
        widget_feature_human: boolean;
        widget_background_color: string;
        widget_text_color: string;
        widget_border_color: string;
        widget_accent_color: string;
        widget_secondary_color: string;
        widget_border_radius: string;
        widget_font_size: string;
        widget_width: string;
        widget_height: string;
        widget_shadow: string;
        widget_animation_duration: string;
        widget_fade_duration: string;
        widget_bounce_effect: boolean;
        widget_chips: {
            chip_mode: "show" | "tell" | "do";
            chip_text: string;
        }[];
    };
    actions: {
        setState: (payload: Partial<import("..").WidgetState>) => void;
        toggleWidget: () => void;
        closeWidget: () => void;
        setMode: (mode: import("..").InstructionType) => void;
        setLoading: (loading: boolean) => void;
        setAgentAvailable: (available: boolean) => void;
        setError: (error: string | undefined) => void;
        clearError: () => void;
        setTaskState: (payload: {
            activeTaskId: string | null;
            isTaskRunning: boolean;
            taskProgress?: import("../types").TaskProgress[];
        }) => void;
        addMessage: (message: import("..").ChatMessage) => void;
        updateMessage: (messageId: string, updates: Partial<import("..").ChatMessage>) => void;
        removeMessage: (messageId: string) => void;
        setMessages: (messages: import("..").ChatMessage[]) => void;
        resetState: () => void;
        stopTask: () => Promise<void>;
        clearChatHistory: () => void;
        sendMessage: (content: string, mode?: import("..").InstructionType, connectionId?: number, question?: string, skipUserMessage?: boolean) => Promise<void>;
    };
    shouldShow: boolean;
    getWidgetText: () => import("../utils/config").WidgetTextConfig;
    getWidgetCustomize: () => import("../utils/config").WidgetCustomizeConfig;
    getWidgetPosition: () => import("../utils/config").WidgetPositionConfig;
    isPreviewMode: boolean;
};
export {};
//# sourceMappingURL=useWidget.d.ts.map